With iPad sales soaring and lot of people using iPad to browse your web site, you want to make sure that your site is ready for iPad. Since the size of iPad is not as small as mobile device like iPhone, iPod, Droid etc. so you need to make sure that your site is not serving content intended for those small devices.
First and foremost thing that you need is a way to detect if web request is coming from iPad. We all look at User Agent string sent by browser in headers. Following is user agent string that is sent by iPad.
Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10The main indetification mark in this string is presence of iPad. So if you have a regular expression or some string search function, then look for presence of iPad sub-string in user agent string to determine if this request is coming from iPad. There are few things that makes it essential to search for iPad in this string.
How to host your web site from your home
How to detect web request from iPad
How to use HttpWebRequest to send POST request to another web server in Silverlight
How to plan CCSP Exam preparation
Develop a MongoDB pipeline to transform data into time buckets
Alert and Confirm pop up using BootBox in AngularJS
AngularJS Grouped Bar Chart and Line Chart using D3
How to lock and unlock account in Asp.Net Identity provider
2024 © Byteblocks, ALL Rights Reserved. Privacy Policy | Terms of Use