When I try to add a RIGHT bar button item with an image in it (either programatically or via the storyboard), it ends up centred and covers the title (see images below). Why is this?
Asked
Active
Viewed 49 times
0
-
You need to add a `UINavigationItem` to your `UINavigationBar`. Then you should be able to add a button using `setRightBarButtonItem:animated:` on your `UINavigationItem`. – Alain Stulz May 17 '18 at 20:37
-
@alain.s I have already done this. Any other ideas why the error would occur? Do you need my code? Thanks. – Matt P May 18 '18 at 01:04