gpt4 book ai didi

ios - 应用程序在调用电话时出错

转载 作者:行者123 更新时间:2023-11-30 13:25:08 25 4
gpt4 key购买 nike

我正在开发一个应用程序,您可以在触摸带有号码的标签后调用电话。但在电话通话结束时,Xcode 日志向我显示了带有约束的错误日志。

我认为这是因为我的应用程序上的自定义导航 Controller ,但即使使用默认的导航 Controller 也会显示日志。

我不知道我应该做什么以及错误在哪里。即使使用下面显示的 Storyboard,日志仍然存在..

自定义导航 Controller 的故事 App with custom Navigation Controller

默认导航 Controller 的故事 App with default Navigation Controller

这是日志..

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.

提前致谢!

最佳答案

检查从 UI 构建器到代码的每个连接。当这种情况发生时,我的情况总是如此。

关于ios - 应用程序在调用电话时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37311210/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com