This blog post is a simple and straightforward tutorial, therefore no downloadable sample code.
Try to create a View based project and add the following code at viewDidLoad.
self.view.backgroundColor = [UIColor viewFlipsideBackgroundColor];
//self.view.backgroundColor = [UIColor scrollViewTexturedBackgroundColor];
//self.view.backgroundColor = [UIColor groupTableViewBackgroundColor];
These will give your view a standard Apple's OS backgrounds image texture that we always see.
So you do not need to make it your own, wasting resources.
For your reference, here is what each "color" give:
viewFlipsideBackgroundColor
scrollViewTexturedBackgroundColor
groupTableViewBackgroundColor
Cool eh?
No comments:
Post a Comment