IQKeyboardManager Click done part of the solution using a black screen appears

Reprinted Please add original iOS_ A can , this pro-test to solve the non-Baidu (Baidu before I have not a solution ...)

The core reason

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.tfLogisNum becomeFirstResponder];
}

Solution, do not write to viewdidload, may run with the IQ of a dynamic conflict. . .

- (void)viewDidAppear:(BOOL)animated{
    [super viewDidAppear:animated];
    [self.tfLogisNum becomeFirstResponder];
}

麻烦点赞表示支持。。。thanks

Reproduced in: https: //www.jianshu.com/p/b7a4e6164c03

Guess you like

Origin blog.csdn.net/weixin_33778544/article/details/91236764