TimOliver/TOWebViewController

2.2.7 UI Error on iOS 11

klaus01 opened this issue · 5 comments

Expected Results

UI display correctly.

Actual Results

WebView.top displays an error in the ViewController of the non-transparent navigation bar.

Steps to Reproduce

UINavigationBar.appearance().isTranslucent = false

let vc = TOWebViewController(urlString: urlString)!
self.navigationController?.pushViewController(vc, animated: true)

wx20180322-203731 2x

Hardware / Software

TOWebViewController 2.2.7
iOS 11

Fix

fix

its very good

Thanks for the thorough issue @klaus01!

I just refactored the code to handle iOS 11 scroll views better. Can you please test it and see if that's fixed it?

Thanks!

In my project, somehow after web loaded the content Inset top is not 0 so I have to set it back to 0

simulator screen shot - iphone x - 2018-07-25 at 14 23 44

Haver you tried it on the version I released yesterday?

Since I've removed that offending block of code, I think this should be fixed now.

Please open a new issue with a URL I can test if not. :)