All Questions
            3,133
            questions
        
        
            883
            votes
        
        
            41
            answers
        
        
            776k
            views
        
    Disable Auto Zoom in Input "Text" tag - Safari on iPhone
                I made an HTML page that has an <input> tag with type="text". When I click on it using Safari on iPhone, the page becomes larger (auto zoom). Does anybody know how to disable this?
            
        
       
    
            414
            votes
        
        
            11
            answers
        
        
            364k
            views
        
    Turn off iPhone/Safari input element rounding
                My website renders well on the iPhone/Safari browser, with one exception: My text input fields have a weird rounded style which doesn't look good at all with the rest of my website.
Is there a way to ...
            
        
       
    
            310
            votes
        
        
            14
            answers
        
        
            213k
            views
        
    Comparison between Corona, Phonegap, Titanium
                I am a web developer and I want to move my web products to iPhone. One of the products is like Google Maps: show map on the phone screen, you can drag or resize the map and view some information that ...
            
        
       
    
            228
            votes
        
        
            9
            answers
        
        
            107k
            views
        
    Preserve HTML font-size when iPhone orientation changes from portrait to landscape
                I have a mobile web application with an unordered list containing multiple items with a hyperlink inside each li:
My question is: how can I format the hyperlinks so that they DON'T change size when ...
            
        
       
    
            228
            votes
        
        
            9
            answers
        
        
            146k
            views
        
    QuotaExceededError: Dom exception 22: An attempt was made to add something to storage that exceeded the quota
                Using LocalStorage on iPhone with iOS 7 throws this error. I've been looking around for a resolvant, but considering I'm not even browsing in private, nothing is relevant.
I don't understand why ...
            
        
       
    
            193
            votes
        
        
            11
            answers
        
        
            304k
            views
        
    How do I put a clear button inside my HTML text input box like the iPhone does?
                I want to have a nice little icon that, when clicked will clear the text in the <INPUT> box.
This is to save space rather than having a clear link outside of the input box.
My CSS skills are ...
            
        
       
    
            166
            votes
        
        
            13
            answers
        
        
            121k
            views
        
    Using HTML and Local Images Within UIWebView
                I have a UIWebView in my app which I want to use to display an image which will link to another url.
I'm using
<img src="image.jpg" /> to load the image.
The problem is that the image doesn't ...
            
        
       
    
            149
            votes
        
        
            7
            answers
        
        
            145k
            views
        
    Can I avoid the native fullscreen video player with HTML5 on iPhone or android?
                I've built a web app that uses the HTML5  tag and JavaScript code that renders other content synchronized with the running video. It works great in desktop browsers: Firefox, Chrome, and Safari. On an ...
            
        
       
    
            142
            votes
        
        
            8
            answers
        
        
            102k
            views
        
    What are some methods to debug Javascript inside of a UIWebView?
                I'm trying to figure out why something with Javascript isn't working inside of a UIWebView. To my knowledge, there is no way to set a breakpoint inside of XCode for a js file. No problemo, I'll just ...
            
        
       
    
            134
            votes
        
        
            10
            answers
        
        
            153k
            views
        
    Reading HTML content from a UIWebView
                Is it possible to read the raw HTML content of a web page that has been loaded into a UIWebView?
If not, is there another way to pull raw HTML content from a web page in the iPhone SDK (such as an ...
            
        
       
    
            133
            votes
        
        
            11
            answers
        
        
            114k
            views
        
    Disabled input text color on iOS
                The simple HTML below displays differently in Firefox and WebKit-based browsers (I checked in Safari, Chrome and iPhone).
In Firefox both border and text have the same color (#880000), but in Safari ...
            
        
       
    
            103
            votes
        
        
            13
            answers
        
        
            95k
            views
        
    HTML character decoding in Objective-C / Cocoa Touch
                First of all, I found this: Objective C HTML escape/unescape, but it doesn't work for me.
My encoded characters (come from a RSS feed, btw) look like this: &
I searched all over the net and ...
            
        
       
    
            97
            votes
        
        
            7
            answers
        
        
            35k
            views
        
    Using Phonegap for Native Application development [closed]
                I recently came across Phonegap. Have anyone of you tried it. Its an incredible tool which claims that developers can use HTML 5 based framework like Sencha touch and Jquery at the same time 
having ...
            
        
       
    
            94
            votes
        
        
            10
            answers
        
        
            99k
            views
        
    A html5 web app for mobile safari to upload images from the Photos.app?
                Is it possible to write a HTML5 web application designed for the iOS devices (iPad, iPhone, iPod Touch) which can allow the user to upload an image from the filesystem? 
Imagine uploading a new photo ...
            
        
       
    
            92
            votes
        
        
            16
            answers
        
        
            209k
            views
        
    Autoplay audio files on an iPad with HTML5
                I'm trying to get an audio file to autoplay in Safari on an iPad.  If I go to the page using Safari on my Mac, it's fine.  On the iPad, autoplay does not work.
            
        
       
    
            90
            votes
        
        
            10
            answers
        
        
            78k
            views
        
    Programmatically selecting text in an input field on iOS devices (mobile Safari)
                How do you programmatically select the text of an input field on iOS devices, e.g. iPhone, iPad running mobile Safari?
Normally it is sufficient to call the .select() function on the <input ... /&...
            
        
       
    
            87
            votes
        
        
            2
            answers
        
        
            31k
            views
        
    iPhone browser defaulting to uppercase for first letter of password fields
                I'm writing a login page for a mobile version of my webapp and I have a simple HTML password field like so:
<input id="password" type="password" />
The only problem is that the iPhone Safari ...
            
        
       
    
            82
            votes
        
        
            8
            answers
        
        
            130k
            views
        
    Invoke native date picker from web-app on iOS/Android
                I'm trying to explore the posibilities with running a native web-app on different platforms using HTML5. Currently, an <input type="date">field just opens the standard soft keyboard on Android ...
            
        
       
    
            79
            votes
        
        
            2
            answers
        
        
            92k
            views
        
    Is there a way to make a phone number clickable on an iphone or android phone to make a call in HTML?
                Is it possible to make a phone number clickable in HTML so that when a user clicks on the number it is called?
            
        
       
    
            79
            votes
        
        
            8
            answers
        
        
            79k
            views
        
    HTML5 inline video on iPhone vs iPad/Browser
                I've created an HTML5 video player (very simple) that works perfectly on the iPad and the browser.
However, when I open it on the iPhone, I only get a play button which, when pressed, opens the ...
            
        
       
    
            79
            votes
        
        
            9
            answers
        
        
            71k
            views
        
    iPhone / iOS : Presenting HTML 5 Keyboard for Postal Codes
                There are several tricks for displaying different keyboards on mobile devices for HTML 5 inputs (i.e. <input> tags). 
For example, some are documented on Apple's website, Configuring the ...
            
        
       
    
            77
            votes
        
        
            9
            answers
        
        
            182k
            views
        
    How to set viewport meta for iPhone that handles rotation properly?
                So I've been using:
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;"/>
to get my HTML content to display nicely on the iPhone.  It works great until ...
            
        
       
    
            76
            votes
        
        
            14
            answers
        
        
            97k
            views
        
    Objective C HTML escape/unescape
                Wondering if there is an easy way to do a simple HTML escape/unescape in Objective C.  What I want is something like this psuedo code:
NSString *string = @"<span>Foo</span>...
            
        
       
    
            75
            votes
        
        
            16
            answers
        
        
            110k
            views
        
    Hide iPhone HTML5 video play button
                I want to hide the big play button that appears by default on the <video> element
Is it possible?
            
        
       
    
            68
            votes
        
        
            9
            answers
        
        
            74k
            views
        
    parsing HTML on the iPhone [closed]
                Can anyone recommend a C or Objective-C library for HTML parsing? It needs to handle messy HTML code that won't quite validate.
Does such a library exist, or am I better off just trying to use ...
            
        
       
    
            62
            votes
        
        
            11
            answers
        
        
            136k
            views
        
    How do I hide the address bar on iPhone?
                How do I hide the address bar on iPhone?
I tried two different methods so far:
The scroll down one pixel trick with JavaScript on page load
And the following meta tags:
<meta name="viewport" ...
            
        
       
    
            60
            votes
        
        
            12
            answers
        
        
            114k
            views
        
    Prevent iPhone from zooming form? [duplicate]
                The code:
<select>
    <option value="1">Home</option>
    <option value="2">About</option>
    <option value="3">Services</option>
    <option value="4"&...
            
        
       
    
            57
            votes
        
        
            10
            answers
        
        
            105k
            views
        
    How to detect a long touch pressure with javascript for android and iphone?
                How to detect a long touch pressure with javascript for android and iphone?
native javascript or jquery...
I want something that sound like : 
<input type='button' onLongTouch='myFunc();' />
            
        
       
    
            57
            votes
        
        
            7
            answers
        
        
            78k
            views
        
    Disable fullscreen iphone video
                Struggling with this problem for a few days in a row now...
Is there any way or 'hack' to disable playing video fullscreen on Safari on a iPhone. Of course I already tried the 'webkit-playsinline' ...
            
        
       
    
            56
            votes
        
        
            3
            answers
        
        
            50k
            views
        
    Implementation of HTTP Live Streaming in iOS
                I want to write a little iOS video client and have to use HTTP Live Streaming. The videos come from a Wowza Media Server which supports HTTP Live Streaming, so the server-side implementation is not my ...
            
        
       
    
            56
            votes
        
        
            1
            answer
        
        
            9k
            views
        
    Chrome dev tools to emulate mobile devices with navigation bar
                Hey I'm a web developer and I'm looking for a way to emulate mobile devices which also displays their respective navigation bars, toolbars etc. In the 'Device toolbar' in Google Chrome (v58 on macOS) ...
            
        
       
    
            53
            votes
        
        
            7
            answers
        
        
            34k
            views
        
    Error: Whitelist rejection in Phonegap
                I'm new to mobile development. I'm using Phonegap/Cordova to create a cross-platform app. My code works well on Android but when I'm porting it to iPhone it's showing an error:
[143:2003] ERROR ...
            
        
       
    
            50
            votes
        
        
            4
            answers
        
        
            50k
            views
        
    Limit of localstorage on iPhone?
                I'm wondering what's the limit of localstorage HTML 5 on iPhone? I read that it was like 5 Mb, but I'm surprised is so little. Any ideas?
            
        
       
    
            48
            votes
        
        
            7
            answers
        
        
            50k
            views
        
    Show 'Search' button in iPhone/iPad Safari keyboard
                I've noticed navigating in websites like Dell or Google, that typing in their search text box with iPhone, in the keyboard appears a blue button 'Search' instead of the standard 'Go' button that ...
            
        
       
    
            47
            votes
        
        
            5
            answers
        
        
            42k
            views
        
    iOS WebView remote html with local image files
                Similar questions have been asked before, but I could never find a solution.
Here is my situation - my UIWebView loads a remote html page. The images used in the web pages are known at build time. In ...
            
        
       
    
            45
            votes
        
        
            4
            answers
        
        
            35k
            views
        
    IOS HTML disable double tap to zoom
                I am designing a website primarily focused on data entry. In one of my forms I have buttons to increment and decrement the number value in a form field quickly. I was using
<meta name="viewport" ...
            
        
       
    
            42
            votes
        
        
            9
            answers
        
        
            48k
            views
        
    Getting iPhone GO button to submit form
                Is anyone aware of what variables go into a form to make the iPhones virtual keyboard's GO button submit the form vs. not?
I've been trying to narrow down the scenarios and this is what I've found:
...
            
        
       
    
            38
            votes
        
        
            8
            answers
        
        
            28k
            views
        
    HTML <label> command doesn't work in Iphone browser
                In a html page I am making, I tried to make div's clickable using html and css. This has worked perfectly in some major browsers I have tested it in (Chrome, Firefox, Opera, Safari), as well as an HTC ...
            
        
       
    
            36
            votes
        
        
            11
            answers
        
        
            20k
            views
        
    iOS5 show numeric keypad by default without using type="number" or type="tel"
                With the release of iOS5, Apple has added their own validation to input type="number" form fields. This is causing some issues; see this question below which sums it up:
Input type='number' ...
            
        
       
    
            35
            votes
        
        
            4
            answers
        
        
            22k
            views
        
    Why use IBM Worklight if it ultimately uses PhoneGap?
                Actually i have to build a cross platform application(for iphone and android only) and the client is emphasizing to use IBM Worklight for this. After searching about Worklight i came to know that it ...
            
        
       
    
            35
            votes
        
        
            6
            answers
        
        
            20k
            views
        
    Can I prevent phone from sleep on a webpage
                In app I can use http://developer.android.com/reference/android/os/PowerManager.WakeLock.html
but is there a way to keep webpage running and prevent from going to sleep?
It would be nice if it runs at ...
            
        
       
    
            34
            votes
        
        
            7
            answers
        
        
            39k
            views
        
    Apple touch icon isn't showing up on the home screen
                I'm using the following code to get touch icons for mobile devices - it's based on the html5boilerplate/mobile example:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<...
            
        
       
    
            33
            votes
        
        
            1
            answer
        
        
            24k
            views
        
    Safari Viewport Bug, Issues with Fixed Position and Bottom or Top
                I'm experiencing something strange in iOS 12.3.1 Safari. This issue dates back to at least iOS 12.2, but I imagine it's been a problem for much longer than that.
The issue manifests itself when trying ...
            
        
       
    
            32
            votes
        
        
            8
            answers
        
        
            41k
            views
        
    Can a website (HTML5,JavaScript) access a mobile device's (android/iPhone) contact list, SDCard files
                Can a website (HTML5,JavaScript) access a mobile device's (android/iPhone)
contact list, SDCard files?
A website as in one opened in a browser not a phonegap application/webapp.
            
        
       
    
            32
            votes
        
        
            7
            answers
        
        
            49k
            views
        
    Manually triggering the iPhone/iPad/iPod keyboard from JavaScript
                I am developing an HTML code editor using simple DIV's and capturing events.  When I use this on the iPad the keyboard never pops up since i'm not technically in an editable field. 
Is there a way to ...
            
        
       
    
            31
            votes
        
        
            12
            answers
        
        
            135k
            views
        
    How to restrict number of characters that can be entered in HTML5 number input field on iPhone
                It seems that neither of the "maxlength", "min" or "max" HTML attributes have the desired effect on iPhone  for the following markup: 
 <input type="number" maxlength="2" min="0" max="99"/>
...
            
        
       
    
            31
            votes
        
        
            4
            answers
        
        
            68k
            views
        
    Using php to output an mp4 video
                Ok basically I have a project that requires that videos are hidden from the users while still able to see them (by using php).  here's what i got so far:
The video.php file has this: 
<?php
$ch = ...
            
        
       
    
            31
            votes
        
        
            1
            answer
        
        
            9k
            views
        
    How do I give my websites an icon for iPhone? [duplicate]
                How do I set the icon that appears proper on the iPhone for the websites I have created?
            
        
       
    
            30
            votes
        
        
            2
            answers
        
        
            6k
            views
        
    iOS 8 - Videos and sound files won't play from home screen web app
                I have an HTML5 web app which uses JWPlayer for embedded videos and podcasts. This works fine in iOS 7, both within Safari and when saved as a web app to the home screen.
In iOS 8, the videos and ...
            
        
       
    
            27
            votes
        
        
            4
            answers
        
        
            15k
            views
        
    Is it possible to track click throughs from iPhone Smart Banner
                We want to be able to track, using Google Analytics, any click throughs from the iPhone Smart Banner that we have added to our website.
The meta code used to add the smart banner is:
<meta name="...