I have added a custom button to the navigation bar\'s custom right bar button item as shown in the image.
I\'m want to be able to remove the space after the button
You can't, unless you subclass UINavigationBar or override its methods via category.
UINavigationBar