Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -(BOOL)textFieldShouldBeginEditing:(UITextField *)textField {
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillShow:) name:UIKeyboardWillShowNotification object:nil];
- });
- return YES;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement