I want to hide message that appears on status bar in blue colour on iOS devices, when i minimise my app using location services in background mode.
How to hide status bar message when app is using background location services in iOS
1.8k Views Asked by K_Mohit At
2
You can use
requestAlwaysAuthorizationinstead ofrequestWhenInUseAuthorizationonCLLocationManager(and provide the relatedNSLocationAlwaysUsageDescriptionin theinfo.plist file), and then it will not appear either.See this answer