Changed UINavigationBar Background


/ Published in: iPhone
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.