11
votes

Comment puis-je obtenir le fond de la pinstripe pour montrer?

J'aimerais utiliser le fond de pinstripe qui apparaît dans l'application Paramètres et de nombreuses applications iPhone derrière les vues de la table. Est déjà inclus dans une bibliothèque graphique? Comment puis-je le faire apparaître dans un UIView ou UitailView?

pinstripe http://img.skitch.com/20090630-p783xugab8i9c7x2c63t3ped52.jpg


0 commentaires

3 Réponses :


2
votes

Il vous suffit d'utiliser le style "groupé" sur la vue de votre table.


0 commentaires

18
votes
myView.backgroundColor = [UIColor groupTableViewBackgroundColor];
Just to stick with convention though, don't apply this background unless you're using tableviews that scroll as this type of background is semiotical to tableview scrolls.

0 commentaires

1
votes

à partir de IOS 6.0, cela ne fonctionne plus.


0 commentaires