I’m using custom images for UINavigationBars and UIToolbars. The problem i’m having is on 1 of my views that uses a UINavigationBar, the right button appears too tall

On the views that use a UIToolbar (modal views so no Nav bar) they look fine

What could be causing the button to be too large? I’ve tried adding the button in IB and also using code. Then set the image like this
UIImage *barButton = [[UIImage imageNamed:@"ButtonBlue"] resizableImageWithCapInsets:UIEdgeInsetsMake(6, 8, 6, 8)];
[self.connectButton setBackgroundImage:barButton forState:UIControlStateNormal barMetrics:UIBarMetricsDefault];
Thanks
Create a smaller button. You can do this in Preview – resize it. Make sure you have @2x sizes too. T cannot recall the recommended size for theses images – it’s something like 30 points or so (search and you’ll find it for sure).