How to open URL schemes from Safari in iOS9?

前端 未结 5 1203
离开以前
离开以前 2020-12-30 01:21

I was able to open apps from safari this way:

window.location = \'myapp://do/xx\';

or open facebook app:

window.location =          


        
5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-30 02:19

    With iOS9, Apple is changing a few things concerning URL schemes. Here is an article about those changes.

    Basically, you now have to register all URL schemes that are supported by your app in your .plist file.

提交回复
热议问题