Possible to launch Apple's default weather app from my application?

邮差的信 提交于 2019-12-08 05:30:22

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!