0

I would like to know if is possible to open the weather application with a specific location (ex. Berlin) already set by pressing a button

@IBAction func openMeteoTo(_ sender: Any) { }

and if there are some documentation about it or tutorials, i did a little research but i didn't find anything.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
User672
  • 67
  • 1
  • 7
  • No, there is no public API to launch Apple's Weather app. – rmaddy Feb 25 '18 at 16:27
  • @rmaddy And if i don't want to weight the app, so just wanting to make a reference to something else with the ibaction, which alternative can be used to show the meteo of a specific location? – User672 Feb 25 '18 at 16:47

1 Answers1

1

Unfortunately, iOS Weather App hasn't an URL scheme. Here is something about other iOS URLs.

steformicola
  • 171
  • 7
  • thank you, but if i don't want to weight the app, so just wanting to make a reference to something else with the ibaction, which alternative can be used to show the meteo of a specific location? – User672 Feb 25 '18 at 16:48