I’m new on Cocoa OBJC and iPhone dev.
Where to find the default background that apple uses everywhere (like the one on the iphone’s default setting app) ?
It’s possible to set the image from interface builder or you have to set by line code?
Thanks
I’m new on Cocoa OBJC and iPhone dev. Where to find the default background
Share
To expand on Carl’s answer: if you create a
UITableViewin the grouped style, either via Interface Builder or using the-initWithFrame:style:method withUITableViewStyleGrouped, you’ll get that background by default. Before iOS 6, if you wanted to apply it to another view, you could set that view’sbackgroundColorto[UIColor groupTableViewBackgroundColor]; since then, that method has been deprecated and you need to create the color yourself.