There are many cases where your application may display numbers that “resemble” phone numbers, but are not, unfortunately Safari’s default behavior is for it to be “helpful” and format them into clickable/callable links for the user of Apple IOS devices.
Adding the following META tag can prevent that default behavior:
<meta name="format-detection" content="telephone=no" />
NOTE: I’ve seen some mention of using this method for ‘address=no’ and ’email=no’, but have not looked into or verified those implementation yet!
If you have made an investment in creating a device specific application in addition to a traditional web application, there is also a good chance that you want to drive your users (customers) to use the native application.
With the release of Apple IOS 6 in September 2012, this ability was made possible with the use of a simple HTML
<meta> tag on your web page. You will need to replace the x’s with your app-id from the Apple Store.
<meta name="apple-itunes-app" content="app-id=xxxxxxxxxx" />
Now that HTML5 support has grown, and Apple continues to resist Flash on their IOS devices, it may be advantageous to make use of the newer markup standard in your web applications.
There are currently three separate methods to convert your Flash applications:
This is relevant only after you have updated to Apple IOS 4.2.x on your iPhone, iPod Touch or iPad device. With this release, the ability to print has been added, but it takes a bit of configuration to setup the printer sharing itself as it relies on the Apple Bonjour service/protocol!
I assume that this is all trivial if you are using a networked printer, particularly if it’s wireless…. but if you have a printer that is shared by another computer on the network, you’ll have to do the following.
- Install iTunes 10.1 (or newer) on the PC
- Install IOS 4.2.1 (or newer) on the mobile device
- Download AirPrint.zip (airprint.exe, libairprint.dll, XpdfPrint.dll)
- Unzip it.
- Make a folder, “C:\Program Files (x86)\AirPrint\” (NOTE: without the x86 for 32bit)
- Copy the files to “C:\Program Files (x86)\AirPrint\” (NOTE: without the x86 for 32bit)
- Run “cmd.exe” as administrator
- Run the following commands (There should be a space between ‘=’ and ‘”‘)
- Windows 64bits:
sc.exe create AirPrint binPath= "C:\Program Files (x86)\AirPrint\airprint.exe -s" depend= "Bonjour Service" start= auto
sc.exe start AirPrint
- Windows 32bits:
sc.exe create AirPrint binPath= "C:\Program Files\AirPrint\airprint.exe -s" depend= "Bonjour Service" start= auto
sc.exe start AirPrint
- Let Windows Firewall allow AirPrint to communicate on the networks (Double click on the airprint.exe)
- Now, open Safari or any other printing application on your device and try to Print, the first time will have to select the printer, and you may need to give user credentials for the printer.
I found a few references to this lately and just had to look into it. This is similar to the FAVICON approach used in browsers, but supports a (60×60), officially a 57×57 pixel icon.
The code is simple:
<link rel="apple-touch-icon" type="image/jpeg" href="/example.jpg" />
Old Reference (no longer works):