Flip into a UIWebView

Discussion in 'iOS Programming' started by japaternoster, Feb 1, 2009.

  1. japaternoster macrumors newbie

    Nov 20, 2007

    I am currently testing my iPhone skills and am making a simple RSS reader. I have got the iPhone to output the list of titles in a table, and have set it up to open the links in Safari. However, my next aim is to have the view flip (much like the unity application) into a UIWebView, where the linked site is then loaded. I also want a sort of back button so that the view can flip back to the table. The application currently has a series of tabs at the bottom, and the table view is in one of them, for this reason the UIWebView needs to be only 411pixels high.

    I am having real problems just getting started with this, some pointers would be very helpful.

  2. Duke Leto macrumors regular

    Mar 17, 2008
    Start a new Utility application in XCode.. this has the functionality built in. It should then be easy to copy-paste your code into that new project. If not, you can at least look at how they do it.
  3. japaternoster thread starter macrumors newbie

    Nov 20, 2007
    I have managed to create an app using a Utility application (which is a very simple modification of the template, literally just a button that flips into a web view) however I am now having trouble incorporating this into my base application.

    In the base application I have 5 tab bar items which each will link to what is essentially a seperate application. I have already added a simple view under one of these tabs, but have no idea how to go about adding the utility application into it.

    Any ideas/suggestions/links would be much appreciated.

    Thanks for the reply
  4. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
    I would look at incorporating the toggleView method in the RootViewController.m of a Utility application and try and build it up from there.

Share This Page