TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Hidden Gem of iOS6: File Uploads in Mobile Safari

70 点作者 greenagain超过 12 年前

15 条评论

hnriot超过 12 年前
I am not sure why this is being touted as a "hidden" gem, it was on the feature list and expounded as much as many of the other features in iOS6.<p>It is inexcusable that it wasn't previously possible to upload photos to sites (one of what is now the most common use cases for the internet) without involving a native app. The iOS ecosystem struggles to find a middle ground between native and a competitive/competent browser. This feature was no doubt strongly argued by Apple's PMs for many years, but finally they won out over some other dept's PM team.<p>We should at least be thankful that it wasn't introduced as a Safari-only feature.<p>The idea that there isn't a file system is nothing more than a suspension of disbelief, of course there's a file-system, it's just that there are folder handlers that know how to render the contents, it's actually an idea that can be traced back (possibly further to other sources also) to Microsoft's active directory notion. It morphed over the years and never became what was originally planned but iOS is very similar in how it 'hides' the underlying architecture. Camera Roll is ~/Photos + Pinterst-like dynamic grid a la Masonry.
评论 #4628688 未加载
评论 #4628635 未加载
ck2超过 12 年前
Yup, <i>input type=file</i> only took them 5 or 6 years to finally implement while Android has had it since 2.0<p>But since ipad1 can never have ios6, you'll have to do alternative methods for any website service you operate for years to come.
评论 #4628047 未加载
评论 #4627113 未加载
评论 #4627360 未加载
评论 #4627796 未加载
评论 #4628403 未加载
dutchbrit超过 12 年前
You can also upload multiple files:<p>&#60;input type="file" multiple&#62;<p>And you can also set an access type:<p>&#60;input type="file" accept="video/<i>"&#62;<p>&#60;input type="file" accept="image/</i>"&#62;
duiker101超过 12 年前
Hidden gem? It's more probable it's not disclosed because they are ashamed of public humiliation.
评论 #4627458 未加载
jc4p超过 12 年前
An extremely high hype and looked after feature is a hidden gem, who knew!
评论 #4628662 未加载
lucian1900超过 12 年前
Wait, so you still can't upload something a random app produced?
评论 #4627090 未加载
评论 #4627194 未加载
carson超过 12 年前
This is great but sadly you can't resize images in the same version of mobile safari so it limits the usefulness for image uploads. There is a bug that makes large images incorrectly render to a canvas. It seems odd that this wasn't a use case they tested against.
macchina超过 12 年前
Does anyone know why it took so long to implement such a basic feature?
评论 #4627144 未加载
评论 #4627158 未加载
评论 #4627618 未加载
_ajm超过 12 年前
You can upload images...but rotation isn't preserved unless they're coming out of the user's Photo Stream bucket.<p>I think that hidden gem has a couple chips in it.
tpowell超过 12 年前
I spent 20 minutes playing with balloonduck.com at the gym the first time because I thought the ability to upload pics from mobile safari was so great. Then I went on with my life.
hack_edu超过 12 年前
You can upload things, yet have nearly nothing resembling a filesystem accessible to users. How's that work? Do you just use your iCloud or Dropbox files?
评论 #4627229 未加载
rfurmani超过 12 年前
Does anyone know if filepicker.io has plans to support this? Currently file uploading in mobile safari is rather underwhelming
评论 #4628556 未加载
ndrake超过 12 年前
My favorite hidden gem in iOS6 is the ability to debug webapps with Safari's Web Inspector.
wmblaettler超过 12 年前
It's about time!
monsterix超过 12 年前
Perhaps, it's not a hidden gem but a needed pursuit which most of us waited for. I know so many developers who were forced to use third party APIs (picplz etc.) just to have normal web experience on their application.<p>Anyway, this is good news for the web. Hope the browsers on tablets go beyond their 'mobile' paradigm and there is increase both in horsepower and adoption of web standards.
评论 #4627954 未加载