代码改变世界

iOS自带的背景图片

2012-11-04 20:15  Y_York  阅读(330)  评论(0编辑  收藏  举报

 

原来这张经典的图和分组表的背景一样,都是背景自带的呀。

self.view.backgroundColor = [UIColor groupTableViewBackgroundColor];

 

+ (UIColor *)scrollViewTexturedBackgroundColor

Description

Returns the system pattern color used to render the area behind scrollable content.

Returns

The UIColor object.

Availability

iOS (3.2 and later)

Declared

UIInterface.h

Reference

UIColor Class Reference