I want to use an customized alert like the Weather app
instead of the default alert
How can i do? Thanks in advance
You have to add NSLocationAlwaysUsageDescription or NSLocationWhenInUseUsageDescription key in your plist file:
See below picture:
After adding these keys in your plist file remove app from device or simulator and run it.