Question: I am trying to show an iframe inside my ionic app, but somehow, it appears on the browser, but it doesn't appear on the iOS device. I want to fill it with html code. 
My code:

```
<ion-content>
    <iframe width="300px" height="325px" frameborder="0" scrolling="yes" marginwidth="0" marginheight="0" ng-attr-srcdoc="{{model.html}}">
    </iframe>
</ion-content> 

```

Answer: 
The issue is that, by default, Cordova doesn't support srcdoc. The solution for recent versions of Cordova is simple. Edit config.xml for the project and add:

```
<allow-navigation href="about:*" />

```

I have tested this on Cordova 6.4.0 and it fixes the issue: it allows Cordova apps with iframes to use srcdoc.

*(The accepted answer is incorrect. iOS supports iframes just fine. marshall119us's answer was ok for previous versions of Cordova, but is obsolete.)*
iframe is not supported by IOS via Cordova before 6.4 correctly.

the statement by cordova was that ios does not support iframes.

if you want to need something like iframe before 6.4 you have to build it by yourself i.e. as a textarea or a embedded section with scrolling.

if you are using 6.4 or newer, look at the following responses.