P
P
Petya Petrov2014-06-30 13:56:02
JavaScript
Petya Petrov, 2014-06-30 13:56:02

How to open app from website (iOS 7) ?

Hello!
Actually the question is: How do you redirect from the site to the application in iOS 7?
Code example:

if(deviceAgent.match(/(ios|iphone|ipad|ipod)/i)) {
    setTimeout(function () {
        window.location = http://itunes.apple.com/app/...;
    }, delay);
    window.location = myapp://...;
}

this code works great in ios 6 but ios 7 has a lot of bugs

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
OnYourLips, 2014-06-30
@petya_petrally

protocol. Applications can log a protocol.

K
Kirow, 2014-11-02
@Kirow

Add an entry to Info.plist > URL Types in the app itself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question