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

When I learned your WebView before the call to the getview method in the push, will lead to premature call loadview and viewwillload, self.navigationController at this time of nil, so it will bring a lot of dependencies in navigationController whether the empty allocation failure #60

Closed hongdong closed 8 years ago

hongdong commented 9 years ago

When I learned your WebView before the call to the getview method in the push, will lead to premature call loadview and viewwillload, self.navigationController at this time of nil, so it will bring a lot of dependencies in navigationController whether the empty allocation failure

TimOliver commented 9 years ago

Thanks a lot for that! :)

I haven't seen any incorrect functionality with referencing self.navigationController in the viewDidLoad method. Can you please provide a demo app or some sample code showing what the problem is?

TimOliver commented 8 years ago

I've moved my navigation controller logic to viewWillAppear now. Hopefully that'll fix it!