Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1924] Webview only shows latest loading iframe

GitHub Issuen/a
Resolution Date2013-12-06T21:00:06.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
AssigneeMauro Parra-Miranda


When loading a url in a webview. The final view ends up with the last loaded iframe on that page. E.g. a facebook-like button or a twitter follow button.


  1. Wienke 2013-12-06

    Ignore this one. It was due to a module I used.
  2. Shak Hossain 2013-12-06

    Marking it resolved as Invalid as per updated info from Wienke.
  3. Marcus Ilgner 2015-04-23

    @Wienke could you elaborate which plugin was causing the problem? We are experiencing the exact same issue but have no webview-related plugins and the site works on Mobile Safari and also from the Android WebView.
  4. Wienke 2015-04-23

    @milgner not sure, which one it was. But it was a module we wrote our own that did a overwrite on the UIWebView class. Can you elaborate a bit more on the matter?
  5. Marcus Ilgner 2015-04-23

    Thanks for getting back to me! In the meantime I found that we did indeed have a special module running on iOS that influences webview behaviour: NappUI. I have been able to trace the problem and build a custom version that works. There's also a ticket in which I describe the problem: https://github.com/viezel/NappUI/issues/57
  6. Wienke 2015-04-23

    As you mention it, this was indeed the module that gave the problem for us as well. What we did is remove the TiUIWebView+Extend.m and TiUIWebView+Extend.h files because we did not need them. They provide the extended functionality for the web view.
  7. Marcus Ilgner 2015-04-23

    Unfortunately we only pulled in this module to set a custom user agent on iOS, so we can't remove it completely. But I traced the problem back to a specific commit (custom headers) and after revoking that one everything works as expected. So thanks again for the quick feedback, I much appreciate it. As I mentioned in the ticket on Github, I'm not really familiar with native iOS development so it's a lot of shooting into the dark for problems like this. ^^ All the best Marcus

JSON Source