I have a problem with the RightBarButton within an iOS-App. Whenever the device is rotated to landscape, that button lowers as seen in the screenshot. While in portrait-orientation everything looks fine.
Any ideas?
I still have no idea what caused the misplaced label on orientation-change, but I was able to solve it by using a custom UIButton as my UIBarButtonItem:
let rightButton: UIButton = UIButton(type: .system)
[...]
let rightBarButtonItem: UIBarButtonItem = UIBarButtonItem(customView: rightButton)