Search code examples
iphoneios5cllocationmanagercllocationalassetslibrary

CLLocationManager prompt is displaying alert then disappearing


This is one awful bug. When using CLLocationManger, either with startUpdatingLocation or with ALAsset methods to access metadata for a photo, the system is prompting for location access as expected...but the prompt disappears as soon as it's shown. I cannot find the reason for this and am hoping someone else has had this problem. This does not occur with other alerts (such as showing a UIAlertView).

I can even set the purpose property, and it displays, but again, only for a moment then it just closes itself.

This is a big issue for me as I require permission in order to use photo metadata.


Solution

  • Ugh, now the issue appears to be resolved. And I don't know why or how.