Xcode Tutorial - How to use a UIWebView (Load PDF Files, local HTML documents/ etc...)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,968
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 1, 2011

In this Xcode tutorial I will be showing you how to use a UIWebView in your iOS Application. You can use it to load a website from the internet, load a local file (such as a PDF file) and more.

Links:
Website: http://supertecnoboff.co.uk
Twitter: http://twitter.com/supertecnoboff
Tumblr: http://supertecnoboff.tumblr.com
Facebook: http://facebook.com/supertecnoboff
iOS Apps: http://itunes.apple.com/artist/supertecnoboff-apps/id367271963

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (supertecnoboff)

  • Impressive stuff, thanks a lot.

    cheers!

  • @Faharnouman Glad it helped :D

  • Make sure not to put the file extension as part of the file name in the NSString so if your PDF is mypdfdoc.pdf, just put mypdfdoc in there. That was a mistake i made.

    Great tutorial, thanks for the help!

  • @stonefreealttube Thats ok. Glad it helped :D

  • How do I enable zooming on a pdf-file?

  • @dawitgabor You can enable this feature in the Interface builder section of Xcode. In your view, click on your UIWebView and on the right look through the properties tab. Then change the zooming settings.

see all

All Comments (26)

Sign In or Sign Up now to post a comment!
  • Outstanding tutorial. Thank you!

  • this is a really nice tutorial. very helpful too.. would you like to become an Apple Iphone developer?subscribe to my channel to learn more about what it takes to become a successful Iphone developer. feel free to leave your comments too. see you around

  • I have to say you rocked this video! I have been creating native web apps for BB and android but wanted to get them on iOS. I have been reading and watching everything on the web but no luck until I came across your video. I took my current html changed the CSS so the images were sized right and I got an app. What are the next steps to put it on a device or in the app store?

    BTW I subscribed to your channel :)

  • Great tutorial, it helped me a lot !

    I'm still searching how to open multiple pdf with a master-detail view but thanks a lot !

    Of course if you know how to do it i'll like you forever !

  • i orgasmed when i saw this. Jolly good job mate.

  • @Smielle1 Well one simple way is to make a new UiView file which you load when for example a button is pressed on the homescreen. So that takes the user to a different interface with the UIWebView. Then on the new UIView add a "Done" button. Once the users presses that they god back to the homescreen. If the user decides to go back to the view with the UiWebView again, the UIWebView will reload the web content from the start... Thats one approach although not the best approach there is.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more