title: How to reduce padding between UIBarButton items in UINavigationBar IOS 7?
body: <pre><code> UIButton *addButton = [UIButton buttonWithType:UIButtonTypeCustom];
      [addButton setImage:[UIImage imageNamed:@"addButton.png"] forState:UIControlStateNormal];
      [addButton addTarget:self action:@selector(addSubProperty:) forControlEvents:UIControlEventTouchUpInside];
      [addButton setFrame:CGRectMake(0, 0,51,44)];
  
      UIBarButtonItem *firstBarButton = [[UIBarButtonItem alloc] initWithCustomView:addButton];
  
      UIButton *deleteButton = [UIButton buttonWithType:UIButtonTypeCustom];
      [deleteButton setImage:[UIImage imageNamed:@"deleteButton.png"] forState:UIControlStateNormal];
      [deleteButton addTarget:self action:@selector(deleteProperty:) forControlEvents:UIControlEventTouchUpInside];
      [deleteButton setFrame:CGRectMake(0, 0,50,44)];
  
      UIBarButtonItem *negativeSpacer = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFixedSpace target:nil action:nil];
      [negativeSpacer setWidth:-10];
  
  
      UIBarButtonItem *secondBarButton = [[UIBarButtonItem alloc]initWithCustomView:deleteButton];
  
      NSArray *navBtnArr = [[NSArray alloc] initWithObjects:negativeSpacer,firstBarButton,secondBarButton, nil];
  
  
      self.navigationItem.rightBarButtonItems = navBtnArr;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/DyIeG.png" alt="enter image description here"></p>
  
  <p>After this i got this result ,as you guys can see i did able to manage move my first barbutton left byt that negativeSpacer but i donot know how to reduce space between those two button.</p>
  
  <p>and by doing this my back also goes disappear any idea will really appreciated .</p>