iOS 输入框频繁切换后,系统打印信息问题

最近在做ipad的登录注册,测试的时候就点击输入框,结果发现有系统的打印信息,但系统无崩溃。
系统打印信息如下:

2017-05-27 11:39:08.636670+0800 GoGoTalkHD[6324:969512] [LayoutConstraints] 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. 
<__NSArrayI 0x60800044e550>(
,
,

)


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.
2017-05-27 11:39:08.638155+0800 GoGoTalkHD[6324:969512] [LayoutConstraints] 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. 
<__NSArrayI 0x61800005d640>(
,
,

)


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.
iOS 输入框频繁切换后,系统打印信息问题_第1张图片
直观显示.png

百度资料之后,以为是约束问题,查找了自己的代码之后,还是无法消除。继续查找之后发现说是键盘类型切换的问题。就注销了代码

self.phoneAccountField.keyboardType = UIKeyboardTypeNumberPad;
self.passwordField.secureTextEntry = YES;

发现问题消失。具体的未深究。估计这个是苹果的小bug吧。

你可能感兴趣的:(iOS 输入框频繁切换后,系统打印信息问题)