需要有关 xcode 中的栏按钮项目的帮助
我今天遇到了最奇怪的问题。我总是使用工具栏和栏按钮项目按钮,从来没有问题。问题是这样的: 我有视图,底部有工具栏。在工具栏中,我创建了两个栏按钮项目,即“后退”按钮和“下一步”按钮。由于某种原因,当我构建到模拟器或 iPhone 中时,这些按钮不像以前那样敏感。换句话说,按钮实际上不起作用。我发现当您触摸按钮或使用鼠标光标单击它时,按钮的一半(顶部)正在工作。但另一半(下方)按钮根本不起作用。 有人有这样的问题吗?
I have the weirdest issue today. I always use toolbar and bar button item button and never have problem. Here is the issue:
I have view and the bottom has toolbar. In the toolbar, I create two bar button items which are 'back' button and 'next' button. For some reason, when i build into simulator or iphone, those buttons are not sensitive like before. On other words, the buttons do not really work. I found out that the half part (top) of the buttons are working when you touch it or use mouse cursor to click it. But the other half (down) of the buttons are not working at all.
Anybody has this kind of issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
工具栏的一半表示状态栏的高度。仔细检查视图的高度并根据状态栏进行更改。
Half of the toolbar means status bar's height. Double check your view's height and change according to your status bar.