you are here: codestackercodes [RSS] → tag iPhone [RSS]

restart springboard

killall -HUP SpringBoard

detecting iDevices

if (navigator.userAgent.match(/iP(ad|hone|od)/i)) {
 
// hello!


}

iphone: prevent copy paste

* {
   -webkit-user-select: none;  /* prevent copy paste for all elements */
} 

iPhone CSS

<link media="only screen and (max-device-width: 480px)" href="iPhone.css" type="text/css" rel="stylesheet" />
Displaying all 4 Code