Good day! As far as I know, with ios 8 you need to call the method

requestWhenInUseAuthorization for geolocation.

How can this alert be changed? write everything in Russian for example. And how to make it so that before selecting a button, no methods are executed.

Thank.

picture

  • Do you run it on the simulator or not on the device? - Max Mikheyenko
  • On the simulator. - rem0t
  • speak on the device this text should be in the language set in the phone. but you cannot change it (see answer below) - Max Mikheyenko
  • Sad of course. Regarding the second question, how to implement so that the rest of the methods described below will not be executed until the user makes a choice. And so it turns out that while this question is hanging, the other methods on which the question depends are already executed .... - rem0t
  • I wrote you in that question - call all your code from didUpdateLocation - Max Mikheyenko

1 answer 1

This is a system alert. It is localized depending on the language of the device. You cannot be his delegate either. This is a permission alert for requesting user permission to use its geolocation. You can only choose the moment when this alert is triggered, no more.