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.
You can use requestAlwaysAuthorization
instead of requestWhenInUseAuthorization
on CLLocationManager
(and provide the related NSLocationAlwaysUsageDescription
in the info.plist file)
, and then it will not appear either.