2 ms·
I would build my app in HTML5 for the iPhone if image uploading was possible (on iOS Safari all file input fields are disabled). Considering that this feature
by bad_user 16y ago
I would build my app in HTML5 for the iPhone if image uploading was possible (on iOS Safari all file input fields are disabled).
Considering that this feature is crucial for my project's success (i.e. the ability to take a photo and upload it with geolocation), a web app for the iPhone is the same as not having one in the first place (or worse, since it is crippled).
And for example, another limitation is that you cannot automatically put the focus on an input field, unless it originated as a response to a user action. Why is that? There are instances where I just want the user to start typing immediately after a page loads (typing itself is hard enough, finding the input element and tapping on it is an extra chore that I could do without).
HTML5 and other browser technologies are fine, if only phone makers would not put stupid limitations on what you can do with it.
- lukifer 16y ago> Another limitation is that you cannot automatically put the focus on an input field, unless it originated as a response to a user action. This is actually an intentional limitation of all mobile versions of WebKit, and it's driving me nuts too. See: http://discussion.forum.nokia.com/forum/showthread.php?127724-javascript-set-focus-to-input-text-box http://discussion.forum.nokia.com/forum/showthread.php?12772... The official explanation I've seen is that it would be jarring to the user for the page to automatically zoom and/or scroll by popping up a keyboard when the user isn't expecting it. This might make some sense for websites, but unfortunately has a side effect of crippling web apps. :(