3 ms·
Unless I'm mistaken, two primary restrictions are: 1. script must be downloaded only within UIWebView. 2. script must be excuted only within UIWebView. Not su
by donpark 12y ago
Unless I'm mistaken, two primary restrictions are:
1. script must be downloaded only within UIWebView.
2. script must be excuted only within UIWebView.
Not sure why #1 is important to Apple but #2 makes perfect sense. I'm assuming Meteor is downloading scripts then passing them as 'data' to native-side to be cached somewhere until it needs to be injected back into UIWebView for execution.
- m_mueller 12y agoThis distinction is very important to me, but I'm not sure whether it holds true. Can anyone comment whether e.g. JavascriptCore executed code cannot be hot pushed? Does JavascriptCore count as 'Webkit' in Apple's sense? IMO from a technology standpoint it should, but I'm not sure. What about Javascript that's pushed within databases, i.e. CouchDB? So far I was pretty sure that this isn't allowed, but reading this article I'm not entirely sure either anymore.
- gsnedders 12y agoHmm, 1 at least isn't entirely enforced. (Chrome has its own network layer, and quite obviously supports scripting.)
- donpark 12y agoVery good point.