Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望我的 UIView 在 tableview 分组时具有与 TableView 背景相同的背景。我的意思是条纹蓝色背景:)
将视图的背景颜色设置为[UIColor groupTableViewBackgroundColor]。
[UIColor groupTableViewBackgroundColor]
下次查看文档:
[UIColor groupedTableViewBackgroundColor];
http://developer.apple.com/library/ios/documentation/uikit/reference/UIColor_Class/Reference/Reference.html#//apple_ref/occ/clm/UIColor/groupTableViewBackgroundColor