IPhone Settings app and keyboard control?

So, I put the app preferences settings in the Settings app. One of the parameters is an edit text field (PSTextFieldSpecifier). When touched, the keyboard dutifully appears, I can make changes, but when I press Return .... nothing. Well, editing is complete, but the keyboard remains. I don't see a way to remove the keyboard.

I also notice this same behavior in other preference panels, including Apple. Am I correct in assuming this is standard behavior and I just need to accept the fact that my settings table is now reduced to half the size and just has to deal with?

Also, I see that there is no approved way to display a "rich" child window, for example in Settings> General> About> Right? Or is there a way to do what appears to be a - Representative of the ModalViewController, a la Settings-> General-> Passcode Lock?

+2


a source to share


2 answers


Unfortunately, you have to deal with this. And there is nothing to do in the code, at least not yet.



This is a bug that hasn't been fixed for a while. You must fill out a bug report.

+1


a source


You need to call resignFirstResponder ... eg.



- (BOOL)textFieldShouldReturn:(UITextField*)tf
{
    [tf resignFirstResponder];
    return YES;
}

      

0


a source







All Articles