TimOliver / TOWebViewController

A view controller class for iOS that allows users to view web pages directly within an app.
http://www.timoliver.com.au/2014/07/27/towebviewcontroller-an-open-source-web-viewer-for-ios/
Other
1.48k stars 211 forks source link

load automatically fin view controller #70

Closed qquestel closed 9 years ago

qquestel commented 9 years ago

Hi... I am having a little problem as i am new to this. I simply want to hardcode the url in a view controller and when i access the view controller it loads the url automatically. I don't want to have a page before with a tableview that when i click the page loads.

How do i do this?

TimOliver commented 9 years ago

Hi there!

That table view section is just part of the demo app. You don't need to bring that part over to your own project.

In order to install TOWebViewController into your app, all you have to do is drag the 'TOWebViewController' folder (That contains the TOWebViewController class files) into your app. After that, you can use the example app provided to see exactly how to make this controller appear in your own app.

Good luck!

qquestel commented 9 years ago

still confused... do i need to put the following in my app delegate file? And the hardcoded url exist in the TOViewController with the table... How do i move so it is simply a view