I have an application that is available in the store. I am trying to prepare it for the release of iOS11, but have run into an annoying problem.
None of the UIBarButtonItem
in-app works properly. LeftBarButtonItems elements are clickable, but the click area is slightly to the right of the element. RightBarButtonItems do not work at all! I added elements both through the storyboard and through the code, but none of them seem to work. Please, help!
Here is an example: -
navigationItem.rightBarButtonItem = UIBarButtonItem(title: NSLocalizedString("Save", comment: "save button title"), style: UIBarButtonItemStyle.plain, target: self, action: #selector(VC.rightBarButtonClicked(_:)))
source
share