开发者

iPhone: Start or Download App if not exists from Safari

I know its possible to open an app from mobile safari using custom URL Handlers.

Is it possible to open the App Store from Safari on the iPhone and automatically install the app?

Or might it even be possible to open the app if it开发者_如何学Go exists on the users device and to download it if it doesn't?

Best, heinrich


You can't automatically install the app, but you can go to an App Store URL via UIApplication's openURL: method.

To open another app from within yours, see this question: Launch an app from within another (iPhone). (I don't know how you'd find out if the other app is installed. Maybe just try to open it, and if that fails, open the App Store URL?)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜