问题
I am facing this weird issue when I install an iOS application from test flight on iOS7 device.
I see the location service permission alert (With 'Don't allow' and 'OK' buttons) momentarily on the screen as soon as the application installation is complete. The alert dismisses itself within a fraction of second.
Any pointers/solution to similar problem is highly appreciated.
回答1:
After continuous analysis of the code and reading other questions and blogs, this post helped.
The didFinishLaunchingWithOptions of the code I am trying to debug has a singleton instance of a class which was invoking startUpdatingLocation of the CLLocationManager class.
I am assuming this will solve the issue once for all.
来源:https://stackoverflow.com/questions/20864247/installation-of-an-ios-application-from-test-flight-shows-location-permission-al