【发布时间】:2018-06-08 07:49:31
【问题描述】:
我有下一个视图结构:
vc
-view
--safe area
--scrollview
---view
----containerview1
----containerview2
----containerview3
-----tableviewcontroller(in containervew3)
Tableviewcontroller 具有添加或删除行的按钮,我想调整滚动视图的大小以显示完整的 tableview 内容(不滚动 tableview)。我试图解决这样的问题:来自here 或Sizing a Container View with a controller of dynamic size inside a scrollview 但没有成功。我使用 iOS 10.0&swift
【问题讨论】:
标签: ios swift uiscrollview size uicontainerview