Image uploading in Mobile-Safari
I'm building a JQuery Mobile application using Ruby on Rails and I need a way to upload photos from the mobile device to Amazon S3. I thought that the best way would be to use Pa开发者_开发问答perclip gem, but the main problem is that in Safari (in case of IPhone) the file input is disabled.
Is there another solution?
Thank you very much!
MobileSafari doesn't allow for direct uploads (yet). It would be possible through an external app like Picup
I don't believe Apple will ever support a direct upload function in MobileSafari, since it's too complicated for them to give the end-user limited access to the filesystem to upload a file (whether it be from /var/mobile/) due to security reasons. Maybe an upload from another app like Dropbox or iDisk would do the trick, but that's just my guess.
精彩评论