title: iOS navigationItem.titleView remove margins
body: <p>I have something like this:</p>
  
  <p><img src="https://i.stack.imgur.com/LYauA.png" alt="titleBar_image"></p>
  
  <p>But I need that the view that am setting for the titleView, doesn't has those margins on the left and right side. Something like this:</p>
  
  <p><img src="https://i.stack.imgur.com/HaE5y.png" alt="titleBar_image2"></p>
  
  <p>This is what am actually doing:</p>
  
  <pre><code>@property (nonatomic, strong) XHScrollMenu *scrollMenu; // where XHScrollMenu is a subclass of UIView
  
  - (void)viewdidLoad{
   _scrollMenu = [[XHScrollMenu alloc] initWithFrame:self.navigationController.navigationBar.frame];
   _scrollMenu.backgroundColor = [UIColor clearColor];
   _scrollMenu.delegate = self;
   _scrollMenu.selectedIndex = 0;
   self.navigationItem.titleView =self.scrollMenu;
  }
  </code></pre>
  
  <p>I tried giving the view a with of 320, but I got the same result. I read in other post, that maybe a subclass make the trick, but don't know how to implement that solution...</p>
  
  <p>How can I make the title view use the entire width?</p>