I have an view controller with a simple UINavigationBar
with a rightBarButtonItem
which contains a button view with an image asset.
In iOS 10, this UIBarButtonItem would be sized properly, not filling up the entire height and of the navigation bar and therefore taking up enough width to stay proportional to the height. Similar to how UIBarButton items look in Apple's app throughout iOS.
Now in iOS 11, these icons are massive and take up way more space than they used to in iOS 10.
Is there a way to restore them to how they looked on iOS 10? I tried adding constraints to the customView
property of the UIBarButtonItems to no avail.