i have a navigation bar, i want to change it using image, i was implement this code
self.navBar.layer.contents = (id)[UIImage imageNamed:@"flower.png"].CGImage;
but the background is still didn't change. the hierarchy of navigation bar are : - UINavigationBar - UINavigationItem - UISegementControl
i already set an outlet in every part in that hierarchy.. is there something wrong???