Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

Iframe not loaded in IOS

$
0
0

@jiffer wrote:

Hi,

I want to show an iframe with in my app. But the webpage in the iframe is not loaded in iOS.
On android it works and loads fine.

In my config.xml i have white listed everything:
<access origin="*"/>

I also use $sce for making the URL trusted
$scope.iframe_url = $sce.trustAsResourceUrl(decodeURIComponent($scope.url));

In the template i show the iframe:
<ion-content scroll='true' overflow-scroll='true' class="has-header has-subheader iframe-wrapper">
<iframe id="WebviewIframe" data-tap-disabled="true" class="iframe-prop" width="{{dev_width}}" height="{{dev_height}}" ng-init="doneLoading()" ng-src="{{iframe_url}}"></iframe>
</ion-content>

Also doneLoading() is never called.
I don't get an error page or anything. Just a white screen

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>