objective c - How to make iOS show location allert consistently? -


turn on location services allow determine location

when try access location services pop up. doesn't pop consistently. think shows once. how make ios show consistently?

note: aware there question here: get alert current location every time. answers talk how should change settings. that's user should do. want ios pop alert consistently users.

the alert shows automatically when call

[singleton.locationmanager startupdatinglocation]; 

a common mistake noobs me make check first whether location update enabled or not , not calling line when it's not. alert doesn't show up.

coincidentally exact pattern recommended ios. many questions same thing none of answers there point fact.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -