我正在尝试提供一个新的VC,但是当我点击代码应用程序时,它被卡住了,无法执行任何操作。这是一个很奇怪的问题,我该如何解决?我展示新VC的代码是这样,
let vc : PropertyDetailController! =
uistoryboard.viewController(identifier: "PropertyDetailController",storyBoard: "Explore") as? PropertyDetailController
vc.propertyDetailData = property
vc.hidesBottomBarWhenPushed = true
vc.modalTransitionStyle = .crossDissolve
vc.modalPresentationStyle = .fullScreen
self.navigationController?.present(vc,animated: true,completion: nil)
这就是它在控制台中显示的内容,
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
它不存在新的VC。这就是我的应用卡住的方式,请检查gif链接, enter link description here