UINavigationItem-Margin
UINavigationItem-Margin copied to clipboard
iOS11 layout issue
If set the UIBarButtonItem from the code and nothing set up, the layout will collapse. I prepared a sample project, so please refer https://github.com/Econa77/UINavigationItem-Margin-Example
Set by storyboard

Set by codes

Back view

Hmm, it seems that there is a but with image items. I'll check it. Thanks for reporting!
any update about this issue?
Try with adding navigation items in the viewDidAppear()