How to use xcasset
I started developing for ios 7 with xcode 5 and I want to use xcassets for
my images. The problem is, when I try to set the image for my
navigationBar it doesnt work. I tried the folowing :
[self.navigationController.navigationBar setBackgroundImage:[UIImage
imageNamed:@"navigationBar.png"] forBarMetrics:UIBarMetricsDefault]; but
it didnt set it to anything. What is the method for setting images with
xcassets?
No comments:
Post a Comment