我怎样才能获得条纹背景显示? [英] How can I get the pinstripe background to show?

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

问题描述

我想用细条纹背景,在设置应用程序的背后表格视图许多其他iPhone应用程序显示出来。是否已经包含在一些图形库?我怎样才能使它在一个UIView或UITableView的显示?


解决方案

  myView.backgroundColor = [的UIColor groupTableViewBackgroundColor]

只是为了与公约的坚持,虽然,除非你正在使用的滚动作为这种类型的背景tableviews不适用这个背景是符号学来的tableview滚动。

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];

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