Monday, January 18, 2010

Setting background color of UIView as of TableView

Setting the background color of UIView to background color used for table view by iPhone OS is pretty east . Just put the following line of code in your viewController's viewDidLoad or any UI initialization method.


self.view.backgroundColor = [UIColor groupTableViewBackgroundColor];


And here you go...


Wish You All Belated Happy New Year....

No comments:

Post a Comment