Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

亲,你的这个demo,如果viewController上写一个UITextField,输入textFiled,就会崩溃 #2

Open
WoNiu361 opened this issue Aug 8, 2019 · 0 comments

Comments

@WoNiu361
Copy link

WoNiu361 commented Aug 8, 2019

点击输入 textField,就会闪退,不管是真机还是模拟器,代码如下
UITextField *textField = [[UITextField alloc] initWithFrame:CGRectMake(50, 20, 200, 50)];
textField.borderStyle = UITextBorderStyleRoundedRect;
textField.placeholder = @"请输入...";
[self.view addSubview:textField];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant