横向中的 UISearchBarDelegate 不起作用
很简单,我正在实现 UISearchBarDelegate,但在横向模式下它看起来是错误的。搜索栏并没有一直延伸到正确的位置。 UISearchBarDelegate 不应该在横向中使用还是有解决方案?
Quite simply, I'm implementing UISearchBarDelegate, but in landscape mode it looks wrong. The search bar doesn't stretch all the way right. Is UISearchBarDelegate not suppose to be used in landscape or is there a solution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题不太可能出在代表身上。可能是
autoresizingMask
设置不正确。应该是,It's highly unlikely that the problem is with the delegate. It's probably that the
autoresizingMask
isn't set properly. It should be,