启动 phone 调用时应用程序出错

Error in the app at launching a phone call

我正在开发一个应用程序,您可以在其中触摸带有号码的标签后拨打 phone 电话。但是在 phone 调用完成的那一刻,Xcode 日志向我显示了带有约束的错误日志..

我以为那是因为我的应用程序上的自定义导航控制器,但即使使用默认导航控制器也会向我显示日志。

不知道该怎么办,哪里出错了。即使使用如下所示的故事板,日志仍然存在..

自定义导航控制器的故事

带有默认导航控制器的故事

这是日志..

Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. ( "", "", "" ) Will attempt to recover by breaking constraint

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful. 2016-05-18 17:11:25.093 App[742:295497] Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. ( "", "" )

Will attempt to recover by breaking constraint

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.

提前致谢!

检查从 de UI 生成器到代码的每个连接。当这种情况发生时,我总是这样。