Linux world
Linux world

Reputation: 3768

adding background image to the nnavigation rootview

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

Answers (1)

Kolin Krewinkel
Kolin Krewinkel

Reputation: 1386

self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"background.png"]]; in viewDidLoad

Upvotes: 2

Related Questions