简体   繁体   中英

UIView in navigation controller goes upwards…?

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

Don't create it inside the UITableViewController. Create it outside and then you should get the desired behavior.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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