Auto Layout with UINavigationBar and UIBarButtonItem

感情迁移 提交于 2019-12-05 05:54:08
Daniel Shteremberg

Looks like a duplicate of iOS Autolayout and UIToolbar/UIBarButtonItems

UIBarButtonItems do not inherit from UIView, so using auto-layout based custom views within them might not be fully supported. Sounds like you have to do the pre auto layout thing until the issue is resolved. I would suggest filing a bug.

EDIT: By the pre auto layout thing, I mean manipulating the frame of your views directly.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!