News for hackers. Stuff that matters.
Re:Apple allows hot code push for JS downloaded and run by W... by dunham on Thursday October 02, 2014 @05:04PM (#8403088)
Unfortunately, due to sandboxing rules added around beta4, WKWebView doesn't allow access to any local files, making it nearly worthless for hybrid apps, ebook viewers, etc.

The only workaround that I know of is to run a webserver on a background thread and point the WKWebView at it. Hopefully Apple fixes this in a future release.

Also, WKWebView doesn't work with NSURLProtocol, which a lot of companies use to implement encryption and dynamic (e.g. database-sourced) web pages.

Re:Apple allows hot code push for JS downloaded and run by W... by Jare on Thursday October 02, 2014 @06:21PM (#8403424)
My distant but intense interest in the future of hybrid apps just took a nosedive. Do you know if any of the major players (Phonegap, CocoonJS, etc) implement the web server approach? It doesn't seem too difficult, but it sure must be a hassle.