Why IFrame over webview to load Local HTML content in Windows 8 HTML/Javascript RRS feed

  • Question

  • Hello everyone, 

     For Windows store development using HTML/JavaScript loading Local HTML files with all support(Images, Audio files, Videos)

    we have two controls iframe and webview as Rob says here

    For purely local content you can use an IFrame. If your content is web-based then you will want to load this in the (new for Windows 8.1) WebView control (see the HTML WebView control sample ).


       I loaded my local HTML file in IFrame it is working fine right now. 
     I wonder about why we need two controls for Same content & what are the advantages of IFrame over webview. 

    I already go through new Webview advantages in windows 8.1 here

    Any one have info about this Please try to help me.



    • Edited by GDEVENDRAK Monday, September 23, 2013 12:51 PM
    Monday, September 23, 2013 9:56 AM


  • WebView isn't available on Windows 8. It is new to Windows 8.1.

    The documentation linked in the quote explains the advantages of the WebView for web-based content. These are primarily around isolating the content from the app's content for security and navigation issues which are less relevant for local content.


    Monday, September 23, 2013 2:15 PM