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

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

问题描述

我想使用在设置应用程序和表视图后面的许多其他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?

推荐答案

myView.backgroundColor = [UIColor groupTableViewBackgroundColor];

只要坚持约定,不要应用这个背景,除非你使用tableview滚动因为这种类型的背景对于表格滚动是符号的。

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天全站免登陆