Sun*_*kas 5 objective-c uibarbuttonitem ios
在iOS 8的XCode 6构建中,我收到以下警告:
MainStoryboard.storyboard: notice: Discouraged Configuration: Value other than autosizing specified for width (System items, other than fixed spaces, should use autosizing)
Run Code Online (Sandbox Code Playgroud)
在StachOverflow之前似乎有这样的问题,但它被删除了.在Google上找不到任何其他信息.
单击警告会将我引导至宽度为70且为0的UIBarButtonItem作为图像插入.将宽度设置为0无济于事.
有任何想法吗?
这个问题是近两年前提出的,但无论如何我都会给出答案,以防有人正在寻找此类问题的答案。
在您提到的尺寸检查器中UIBarButtonItem,您也可能将其设置为系统定义的栏按钮项(例如刷新、完成、编辑等),您可能已在其中明确输入了宽度值。
如果您为.UIBarButtonItem
| 归档时间: |
|
| 查看次数: |
323 次 |
| 最近记录: |