事实证明,当你使用嵌入式视图控制器模式时,你需要从parentVIEwController而不是child中取消选中automaticAdjustsScrollVIEwInsets属性.
这是我的UI结构:
ParentVIEwController有一个容器视图,指向ChildVIEwController(UItableVIEwController的子类).
总结Uncheck automaticallyAdjustsScrollVIEwInsets in ChildVIEwController: doesn’t work
Uncheck automaticallyAdjustsScrollVIEwInsets in ParentVIEwController: works!
以上是内存溢出为你收集整理的ios – automaticAdjustsScrollViewInsets在UITableView的嵌入式UITableViewController中不起作用全部内容,希望文章能够帮你解决ios – automaticAdjustsScrollViewInsets在UITableView的嵌入式UITableViewController中不起作用所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)