Posted By

pete on 10/11/10


Tagged

UINavigationBar


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

bobbym245


Changed UINavigationBar Background


 / Published in: iPhone
 

  1. @implementation UINavigationBar (CustomImage)
  2. - (void)drawRect:(CGRect)rect {
  3. UIImage *image = [UIImage imageNamed: @"NavigationBar.png"];
  4. [image drawInRect:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
  5. }
  6. @end

Report this snippet  

You need to login to post a comment.