Creating custimized authorization message

3

Is there any way to customize the authorization message for requestWhenInUseAuthorization and requestAlwaysAuthorization ?

I know that for this to work we have to add in info.plist the information NSLocationWhenInUseUsageDescription and NSLocationAlwaysUsageDescription .

But I wanted to set up a% custom% for my alertview instead of using app default.

    
asked by anonymous 28.02.2015 / 21:06

1 answer

1

No, you can not customize the native iOS message to request location authorizations.

What I suggest you do is create this UIAlertView with the message you want and show it before requestWhenInUseAuthorization or requestAlwaysAuthorization , but both alerts will be displayed.

    
01.03.2015 / 14:56