ok, I know that this topic has been addressed several times on here, but in all of the MANY examples I have looked at, I have been unable to find the answer I ne开发者_Go百科ed. All I have is a UITextField, and when I click on it, I need the keyboard to NOT show-up. Instead, I have a UIPopoverController that is showing up. 
I have implemented this method:
-(BOOL)textFieldShouldBeginEditing:(UITextField *)textField {
    [textField resignFirstResponder];
    NSLog(@"here");
    return NO;
}
Which should make it so the keyboard stays down, but I can't get this method to fire! What am I missing?
Thanks
I think your forgot to make the object this code lives in the delegate for the textField. Did you drag the delegate in Interface Builder or set the line textField.delegate = self.
hey use the delegate of textfield field in .h with and in .m with textField.delegate=self;
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论