Développer une Webapp pour iPad

Test iPad (asp.net C#) :




Request.UserAgent.ToString().ToLower().Contains("ipad")




Orientation de l'écran :



<link rel="stylesheet" media="all and (orientation:portrait)" href="portrait.css">

<link rel="stylesheet" media="all and (orientation:landscape)" href="landscape.css">



Taille de l'écran dans le fichier CSS :



@media only screen and (orientation:portrait) {

}

@media only screen and (orientation:landscape) {

}


Commentaires

Posts les plus consultés de ce blog

Scénario d'une gestion durable de l'humanité imaginée par un informaticien

Le vaccin n’est pas la bonne technologie

Toute l'actualité du Skate