开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜