Reputation: 3768
how to add image as background to my rootview in navigation controller programmatically...
thanks for that answer for navigation bar hide,....
Upvotes: 1
Views: 379
Reputation: 1386
self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"background.png"]];
in viewDidLoad
Upvotes: 2