Here from the awesomely-named Cats Who Code blog is an article of 10+ Useful Code Snippets To Develop IPhone Friendly Websites — some of which are interesting for use in your UIWebView-presented embedded content as well, looks like:
- Detect iPhones and iPods using Javascript
- Detect iPhones and iPods using PHP
- Set iPhone width as the viewport
- Insert an iPhone specific icon
- Prevent Safari from adjusting text size on rotate
- Detect iPhone orientation
- Apply CSS styles to iPhones/iPods only
- Automatically re-size images for iPhones
- Hide toolbar by default
- Make use of special links
- Simulate :hover pseudo class
The blog looks pretty interesting in general if you’re into HTML, WordPress, etc. at all. Which, yeah, we will be one of these days, at least to find a theme that’s actually readable to save our Gracious Readers’ eyes. Just as soon as things slow down just a smidgen. 2018 is looking not bad. So far…
Continue Reading →
3
MAR
MAR
0
Share