News for hackers. Stuff that matters.
Re:Hidden Gem of iOS6: File Uploads in Mobile Safari by lucian1900 on Monday October 08, 2012 @10:41AM (#4627041)
Wait, so you still can't upload something a random app produced?
Re:Hidden Gem of iOS6: File Uploads in Mobile Safari by buster on Monday October 08, 2012 @10:53AM (#4627090)
That's where Android Intent system shines ;)

My bet that Apple will provide something similar in the future. It's just too good. All that sharing stuff in Android, i really miss it on my iPad, it's imo the biggest feature difference between those two OS today.

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.

Re:Hidden Gem of iOS6: File Uploads in Mobile Safari by dutchbrit on Monday October 08, 2012 @11:13AM (#4627194)
Well, you can, if it's an image or a video.
Re:Hidden Gem of iOS6: File Uploads in Mobile Safari by pooriaazimi on Monday October 08, 2012 @12:23PM (#4627554)
... and is saved in the camera roll (not all images are there. for example a drawing app doesn't put its stupid images in your camera roll!)
Re:Hidden Gem of iOS6: File Uploads in Mobile Safari by r00fus on Monday October 08, 2012 @06:07PM (#4628945)
Not to condone the way they've interpreted file input, but at the very very least - you can upload almost any image in the system by either saving it to camera roll, or taking a screenshot.

This is really a lowest-common-denominator for file transmission - for example, until recently my mom couldn't upload her photo on meetup.com due to this limitation (she uses only an iPad)... I figure Apple cares more about her needs than mine (saving specs.xls into a JIRA).

Any other file uploads (docs, etc) are likely better handled by an app or simply email.

Re:Hidden Gem of iOS6: File Uploads in Mobile Safari by statictype on Monday October 08, 2012 @12:23PM (#4627552)
Only if the app that produced it sticks it in the Camera Roll.
Re:Hidden Gem of iOS6: File Uploads in Mobile Safari by qq66 on Monday October 08, 2012 @02:03PM (#4628040)
Can you write out files to binary-encoded images and save them to the Camera Roll? Or does that violate TOS?
Re:Hidden Gem of iOS6: File Uploads in Mobile Safari by dutchbrit on Monday October 08, 2012 @02:23PM (#4628123)
Instagram does it so I think it should be fine.
Re:Hidden Gem of iOS6: File Uploads in Mobile Safari by dutchbrit on Monday October 08, 2012 @01:52PM (#4627993)
Indeed, very true. I guess it's very Apple like to have a closed system.