Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self.textField = [[UITextField alloc] initWithFrame:CGRectMake(50, 292, 50, 40)];
- [self.textField becomeFirstResponder];
- self.textField.delegate = self;
- [self.view addSubview:self.textField];
- UIButton *topViewonTextField = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, ScreenWidth, ScreenHeight)];
- topViewonTextField.backgroundColor = [UIColor clearColor];
- [topViewonTextField setEnabled:NO];
- //topViewonTextField.layer.zPosition = 100;
- [self.view addSubview:topViewonTextField];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement