App links does not work inside an iframe

Hi,


I have both website and app that are integrated using app link. User can open the app directly from the website.


After upgrading to iOS9, I noticed that all the app links from iframe stopped working. I am using iframe because our content can be embedded on other website. Because of this, some of my app's functionalities are not working.


Any solution to this?


Thanks.

I think I'm experiencing the same issue. The situation is this:

  • Displaying content on the same domain within an <iframe> tag (same effect however if content lives on totally separate domain).
  • Loaded over SSL or HTTP (both fail)
  • Linking to YouTube video with target="_blank"
  • Fails on Safari (iOS9) for both iPhone and iPad if user has YouTube app installed.
  • Works only if the user doesn't have YouTube app, since it then just loads the YouTube mobile site.

It works fine on Android (opens YouTube app), desktop, etc.

I said one way.

If iOS9's safari is block pop-up in iframe, you must set sandbox=allow-popup in iframe tag.

That is like this.

<i frame src="" width="" height="" sandbox="allow-popup" name="main"></iframe>

If you don't set the popup program and you use the javascript, you must set sandbox="allow -script".

The sandbox is forgive the open something to allow.

Let try it!.

App links does not work inside an iframe
 
 
Q