How to open Safari from a WebApp in iOS 7

前端 未结 11 2193
情深已故
情深已故 2020-12-02 09:50
11条回答
  •  无人及你
    2020-12-02 10:49

    EDIT: Sorry, I misread your original problem. This solution was for opening an external website at all. Basic A href tags used to work in opening links and stopped working in iOS7. This was the only way I could get it to open an external link at all.


    Here's how I got it to sort of work with a webapp saved to desktop in iOS7.

    function openpage()
    {
    window.open('http://www.yourlinkhere.com', '_blank');
    }
    

    ...

    LINKED TEXT
    

    The issue though is that it seems to ignore the target option and it opens it in the same full screen desktop webapp and there is no way to navigate back that I can see.

提交回复
热议问题