Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints

如题这种断点怎么打?

一般通过Auto layout布局出现的问题及警告,大部分是因为约束多余,或者约束歧义,只要在对应的xib中详细的查看已经添加的约束,按照横向,纵向每个方向最少两个约束的原则来排查一下,应该都能找到问题,再有一般Auto layout的问题,在程序的运行过程中,xcode会给出特别详细的问题原因,按照这些log给出的信息一般也能解决对应的问题。

参考链接

https://www.jianshu.com/p/1071c9b97650

 

模拟器键盘Can't find keyplane that supports type 4 for keyboard iPhone-PortraitChoco-NumberPad

之前运行好好的,突然从某个时刻运行模拟器的时候报错 

Can't find keyplane that supports type 4 for keyboard iPhone-PortraitChoco-NumberPad

而且会提示 什么 约束不对 约束冲突  请打断点调试  Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints 

这个情况跟代码关系很小,并不是约束出问题了,重置模拟器即可。

posted on 2016-07-14 00:08  🌞Bob  阅读(424)  评论(0编辑  收藏  举报

导航