title: How to set button for navigationItem titleView?
body: <p>I want to programmatically set button for navigationItem.titleView.</p>
  
  <p>I tried with following code but with no success;</p>
  
  <pre><code>UIBarButtonItem *navigationTitleButton = [[UIBarButtonItem alloc] initWithTitle:@"Custom" style:UIBarButtonItemStyleBordered target:self action:@selector(backToHOmePage)];
  
  navigationTitleButton.image = [UIImage imageNamed:@"title.png"];
  
  self.navigationItem.titleView = navigationTitleButton;
  </code></pre>
  
  <p>Warnng says: Incompatible pointer types assigning to 'UIView *' from 'UIBarButtonItem *__strong'</p>