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

TOWebViewControllerDelegate? #41

Closed favoyang closed 9 years ago

favoyang commented 9 years ago

Hi, I wish you can design TOWebViewControllerDelegate, so we can hook on webView: shouldStartLoadWithRequest:navigationType method to implement JS-to-cocoa bridge features ourselves.

TimOliver commented 9 years ago

Haha it's already on the list!

In fact, there's even a TODO comment in there right now on the line where it needs to go.

https://github.com/TimOliver/TOWebViewController/blob/master/TOWebViewController/TOWebViewController.m#L715

Thanks for the request. I'll make sure to give priority to it now. :)