简体   繁体   English

导航控制器中的UIView向上……?

[英]UIView in navigation controller goes upwards…?

我在UITableViewController中附加了一个UIView(具有很多按钮等)作为标题。我没有使用表格header。但是当我滚动表格视图时,标题视图(XIB文件)向上..我可以停止它吗?

Don't create it inside the UITableViewController. 不要在UITableViewController内部创建它。 Create it outside and then you should get the desired behavior. 在外部创建它,然后应该得到想要的行为。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM