title: Background image for navigation view
body: <p>I am having problems with properly displaying background image of navigation view. 
  Here is the pic:</p>
  
  <p><img src="https://i239.photobucket.com/albums/ff175/mlakilud/Picture3.jpg" alt="alt text"></p>
  
  <p>Here is the code:</p>
  
  <pre><code>- (id)initWithStyle:(UITableViewStyle)style {
      if (self = [super initWithStyle:style]) {
  
          UIImage *image = [UIImage imageNamed: @"bg_table_active.png"];
          UIImageView *imageview = [[UIImageView alloc] initWithImage: image];
          UIBarButtonItem *addButton = [[UIBarButtonItem alloc]
                                         initWithTitle:NSLocalizedString(@"Settings", @"")
                                         style:UIBarButtonItemStyleDone
                                         target:self
                                         action:@selector(GoToSettings)];
          self.navigationItem.titleView = imageview;
          self.navigationItem.rightBarButtonItem = addButton;
          self.navigationItem.hidesBackButton = TRUE;
      }
      return self;
  }
  </code></pre>
  
  <p>How can I make the picture stretch to the whole navigation view?</p>