Re:Hidden Gem of iOS6: File Uploads in Mobile Safari
by pooriaazimi on Monday October 08, 2012 @07:31PM
(#4629184)
Thanks! I didn't know about XPC being on iOS...
It's great news (especially in regards to Nitro-ed UIWebVIew), but still it's short of what intents are able to do. For example, I don't suppose it would be possible to "announce" to the system that I, for example, do "image editing" by getting a "png, jpg, pdf" and returning a "png, jpg, pdf". XPC would mostly be used in a single app for further sandboxing and increased security/stability.
Re:Hidden Gem of iOS6: File Uploads in Mobile Safari
by erichocean on Monday October 08, 2012 @08:09PM
(#4629296)
I don't have any inside information on how Apple will do things in iOS, but I see no reason why they couldn't do that.
"Services" have been part of iOS/OS X since the late 80s/early 90s with NeXTStep, the precursor to both.
I don't think Apple is deliberately not allowing services/intents in the manner you describe, I think it's just taking them a long time to figure out how to do it within the process and security model they are trying to enforce in iOS.
One major benefit is that Apple will be able to support JIT'd WebViews outside of Mobile Safari, without a privilege escalation.
[1] http://developer.apple.com/library/mac/#documentation/MacOSX...