Last Updated: May 24, 2019
· mehmetbat

New HTML Tricks for Web Developers in Apple’s iOS


Apple’s recent iOS 6 update added some nice new web standards support to Mobile Safari, the default iOS web browser for the iPhone, iPad and iPod touch.
Apple’s documentation remains sparse and occasionally outdated, but luckily Max Firtman, author of O’Reilly’s Programming the Mobile Web, has a very thorough rundown of everything that’s new in iOS for web developers.

By far the biggest news is support for file uploads and camera access using a combination of the File API and the HTML Media Capture API. To let users take a picture from your web app, you’d use a file input tag something like this:

<input type="file" accept="image/*" capture="camera">

Mobile Safari’s Media Capture support is incomplete so it will ignore the capture attribute, as well as any value for accept other than image or video, but at least web apps can now capture and upload images from the iPhone’s camera.


<input type="file" accept="image/*" capture="camera">

<input type="file" accept="video/*" capture="camcorder">

<input type="file" accept="audio/*" capture="microphone">

Good work.

14 Responses
Add your response


Nice & helpfull. Thanx for the share

over 1 year ago ·

Eline sağlık Mbat

over 1 year ago ·

que bueno, Gracias por eso.

over 1 year ago ·

Thanks for your prototip

over 1 year ago ·

Good pro tip!

over 1 year ago ·

Thanks for sharing.

over 1 year ago ·

very nice article...thanks a lot for sharing...

over 1 year ago ·

Thanks for this great post. This is really helpful for me. Also, see

over 1 year ago ·

Good material. I'm trying to figure it out, but it's hard to cope yet. Tell me a person who could develop an application on iOS for buying tickets? Here is this resource. And also interested in further services. Thank you.

10 months ago ·

Thanks for this great post. This is very helpfull to me.

9 months ago ·

i have installed one ios application from web source, i am getting this showbox not working error ( . How resolve it.

6 months ago ·


4 months ago ·

Most of the best Web Developer is using the New HTML Tricks for developing the website. For instant support related to Roadrunner Email Password Reset please visit for the Best response.

about 2 months ago ·

The web developer is using the latest techniques in IOS development. For instant support related to the PTZ Camera installation Services in Delhi please visit for the proper solution.

about 2 months ago ·