此异常出现的场景为,当我想直接拦截AlertView的弹框 并自动设置点击确定,却出现了如下这个异常。
HW kbd: Failed to set (null) as keyboard focus 这个问题导致了直接闪退,
之前我以为是 授权问题,因此我到ldid 进行和Springboard 和 注入应用的授权 依然出现这个异常。不知道应该怎么解决
调用的函数为:
if (![mDelegate respondsToSelector:@selector(alertView:clickedButtonAtIndex:)]) {
[message dismissWithClickedButtonIndex:1 animated:NO];
}
[mDelegate alertView:message clickedButtonAtIndex:1];
还请指导的朋友解答一下。