Is there an iphone url scheme to start a web app i

2019-01-26 07:35发布

What I'm trying to do is this:

  • I've got a web app the user can choose to add to the homescreen and run in standalone mode.
  • Sometimes the server side of the app sends SMS'es to the user to notify the user of significant events. The SMS contains an URI to the app page of the event.
  • If the user has added the application to homescreen I would like to launch the app in standalone mode

Is there a way to achieve this?

EDIT

From what I've found so far iOS does not implement a url scheme for launching browser based (ie. web apps) in standalone mode. ... But apple should though :) Apple implements parsing of urls to youtube.com and redirects them to the video app.

If they store the URL to the app placed on the home screen it would be a simple task to redirect links to that app.

2条回答
家丑人穷心不美
2楼-- · 2019-01-26 07:51

iOS does not implement a url scheme for launching browser based (ie. web apps) in standalone mode. ... But apple should though :) Apple implements parsing of urls to youtube.com and redirects them to the video app.

If they store the URL to the app placed on the home screen it would be a simple task to redirect links to that app.

查看更多
兄弟一词,经得起流年.
3楼-- · 2019-01-26 08:04

not from an SMS I don't think - but you could look at push notifications which can be sent from your server. I haven't used them yet, but the way I understand it you can send a notification from your server and link it to the app.

http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html

sorry, thats probably a better link

查看更多
登录 后发表回答