facebook

Embedding a webpage into my iOS app without using UIWebView

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #332953 Reply

    nsortor12
    Member

    How can I embed a webpage into my iOS app without using UIWebview? I want to be able to have a toolbar on the page while users are able to view the website so users can get back to the home screen. I don’t want to just have a URL attached to a button which goes to a website. If there is a way I could do it with HTML, that’d be great. If not, is there a way that I can use UIWebView on MobiOne? I want the page to also be auto-updating in case I edit the page on the website.

    #333016

    Hi nsortor12,

    I’ve escalated this question to our dev team, will follow up with you as soon I have more information.

    #333032

    Hi nsortor12,

    I want to be able to have a toolbar on the page while users are able to view the website so users can get back to the home screen. I don’t want to just have a URL attached to a button which goes to a website. If there is a way I could do it with HTML, that’d be great. If not, is there a way that I can use UIWebView on MobiOne?

    Embed a remote site/page into an app falls under the <iframe> limitations. See http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=3600

    You could use the popup window(only native apps) and when user close childbrowser will go back to last mobione screen opened.

    #333784

    shift
    Member

    I only tried this in test center and it worked. Not sure it will work on the iPhone device itself. It should. What I did was to modify the HTML code and put a redirect so the page will load the instant the app opens.

    Example:

    <title>
    <meta http-equiv=”REFRESH” content=”0;url=http://www.google.com”>
    </title>

    #333802

    ehpdesigns
    Member

    Shift,

    Are you talking about embedding a webpage using iframe? Or are you using those metatags in pages you post into a pop-up browser?

    #333808

    shift
    Member

    I realize where the confusion is now. I should have read the persons question properly. I thought they just wanted to go to a webpage on clicking the app’s icon instead of opening the app and then having to take that extra step of clicking a button to go to the webpage. So I was suggesting just redirecting to the webpage on opening the app which the meta tag can do. Reading it over now, I see where he would like the menu bar to stay on the screen while the webpage loads. I definitely don’t have an answer for that. I hope a solution is created soon.

    #333809

    ehpdesigns
    Member

    I thought you had the “Holy Grail” for a moment. I know they say “iframe” isn’t the best way to display webpages inside the app but I know other apps that do it without issue (both in Android and Apple devices). MobiOne has the capability to drive something great. I’ll definitely wait patiently for the devs to add the options we’d love to use for our apps.

    #333812

    support-michael
    Keymaster

    > I know they say “iframe” isn’t the best way to display webpages inside the app but I know other apps that do it without issue

    Please do share any examples that work for general page embedding scenario…

    I’m skeptical. google search, stackoverflow and our test cases are replete with failure cases for iframe on ios.

    #333822

    ehpdesigns
    Member

    My apologies, Wayne, as I believe I misspoke in that one.

    Not saying that other apps use iframe to embed pages within the app, just that other apps are successfully embedding webpages within their content without launching a pop-up window (both Android and Google).

    I know apps created with Conduit Mobile can do this (though I can’t stand their cookie-cutter app builder, which is why I love the freedom I have with MobiOne).

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Embedding a webpage into my iOS app without using UIWebView

You must be logged in to post in the forum log in