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) {

}

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *