我在使用subviews时遇到问题。现在我有一个ViewController和一个containerView。问题是我的containerView在我的ViewControlller上方,因此我无法单击button内的ViewController。
subviews
ViewController
containerView
ViewControlller
button
ViewController:
更新
我通过为“底部栏”和“设置”按钮设置高度限制来解决此问题,我添加了第二个ContainerView。蛮力但有效:)
ContainerView