如何让细条纹背景显示? [英] How can I get the pinstripe background to show?

查看:16
本文介绍了如何让细条纹背景显示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用在设置应用程序和许多其他 iPhone 应用程序中显示在表格视图后面的细条纹背景.是否已经包含在某些图形库中?如何让它显示在 UIView 或 UITableView 中?

I'd like to use the pinstripe background that shows up in the Settings app and many other iPhone apps behind table views. Is is already included in some graphics library? How can I make it show up in a UIView or UITableView?

细条纹 http://img.skitch.com/20090630-p783xugab8i9c7x2c63t3ped52.jpg

推荐答案

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.

这篇关于如何让细条纹背景显示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆