问题
One of my client wants to open Apple's native weather app from our application. After few I don't see a possible way, unless we need to go with any 3rd party apps which provides custom url scheme.
http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html#//apple_ref/doc/uid/TP40007899
It would be great if someone confirm or give me a lead if it is possible.
回答1:
Its not possible, the weather app doesn't have a known URL scheme and I dubt that it has an unknown one.
回答2:
The website handleOpenURL is an excellent resource for custom iOS URL schemes; use this link to search for the known Apple app schemes.
Unfortunately the weather app is not among them.
Another couple of sites with schemes (handleOpenURL seems to be the most complete, but it can't hurt to check the others):
app lookup
Akosma iPhone URL Scheme Wiki
回答3:
I found another site for sharing the url scheme - http://schemes.zwapp.com/
来源:https://stackoverflow.com/questions/7107039/possible-to-launch-apples-default-weather-app-from-my-application