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