title: I want the bar button item in the navigation bar to be placed at the extreme corner of the navigation bar
body: <p>When i try the following code, the bar-button comes with about 30px spacing from the edge,</p>
  
  <p>But i want it to be just 2 pixels away from the edge. Any way to do so? </p>
  
  <p>I want the bar button only, and not a custom UIButton.</p>
  
  <pre><code>UIImage* buttonImage = [UIImage imageNamedH568: @"publish_button.png"];
  
  UIButton * clearButton = [UIButton buttonWithType: UIButtonTypeCustom];
  
  clearButton.frame           = CGRectMake(244.0f, 5.0f, 65.0f, 33.0f);
  clearButton.titleLabel.font = [Utils helveticaBoldFontOfSize: 12.0f];
  
  [clearButton setBackgroundImage: buttonImage                        forState: UIControlStateNormal];
  [clearButton setTitle:           NSLocalizedString(@"Clear", nil) forState: UIControlStateNormal];
  [clearButton setTitleColor:      [UIColor whiteColor]               forState: UIControlStateNormal];
  
  [clearButton addTarget: self action: @selector(clearNotificationsList:) forControlEvents: UIControlEventTouchUpInside];
  
  UIBarButtonItem* clearItem = [[UIBarButtonItem alloc] initWithCustomView: clearButton];
  
  self.navigationItem.rightBarButtonItem = clearItem;
  </code></pre>