News for hackers. Stuff that matters.
Re:Hidden Gem of iOS6: File Uploads in Mobile Safari by pooriaazimi on Monday October 08, 2012 @12:25PM (#4627567)
I've been waiting for intents since 4.0 - I still can't believe it's not been added in 6.0.

Maybe iOS 7.0?

Re:Hidden Gem of iOS6: File Uploads in Mobile Safari by erichocean on Monday October 08, 2012 @06:06PM (#4628942)
Apple is now using their own "intents" system (XPC Services[1]) internally in iOS 6.0, so it seems reasonable for it to arrive in a later version.

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...

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.