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: 
Default Cordova behavior prevents iframes that use srcdoc from displaying content. To override this, special case it in your MainViewController.m by adding this code (valid as of Cordova v6.2.0):

```
- (BOOL)webView:(UIWebView*)theWebView shouldStartLoadWithRequest:(NSURLRequest*)request navigationType:(UIWebViewNavigationType)navigationType
{
    NSURL* url = [request URL];

    if ([[url scheme] isEqualToString:@"about"]) {
        return YES;
    } else {
          return [super webView:theWebView shouldStartLoadWithRequest:request navigationType:navigationType];
    }
}

```

<https://issues.apache.org/jira/browse/CB-7379>
my issue was that i recently retested my phone to factory reset. I had to update my apps my apps.