【发布时间】:2019-11-16 14:50:06
【问题描述】:
我有一个ViewController 和一个containerView。问题是我的containerView 覆盖了我的ViewController,所以我无法点击ViewController 中的buttons。
我知道我可以self.view.sendSubviewToBack(containerView) 但这并不能解决我的问题,因为我实际上希望 containerView(bottomBar + settingsButton) 在前台可见。
有什么方法可以让containerView 位于我的ViewController 之上,并且仍然可以点击我的ViewController 内的按钮?
【问题讨论】:
标签: ios swift uiviewcontroller containers