dzenbot / DZNWebViewController

A simple web browser for iPhone & iPad with similar features than Safari's
https://www.cocoacontrols.com/controls/dznwebviewcontroller
MIT License
1.06k stars 181 forks source link

Loading URLs #51

Open JoeFerrucci opened 8 years ago

JoeFerrucci commented 8 years ago

The web view controller works great with fully-qualified URLs like "http://www.foodster.io" but it does not work if you drop the scheme, e.g., "www.foodster.io"

dzenbot commented 8 years ago

seems like WKWebView cannot handle urls without the http scheme. A quick fix is to prefix the scheme to your urls, if missing. Maybe this fix can be included in the library too.