Skip to content

Make keyboard dismissable #12

@kgn

Description

@kgn

When the keyboard pops up, it covers my tab bar. To make it dismissable I have added the following:
PSTextFieldSpecifierCell.m In setupCell add: self.textField.delegate = self; self.textField.returnKeyType = UIReturnKeyDone;
Beneath that add the method: - (BOOL)textFieldShouldReturn:(UITextField *) theTextField { [theTextField resignFirstResponder]; return YES; }
Change the interface in the .h file to: @interface PSTextFieldSpecifierCell : InAppSettingsTableCell {
I don't know if this is entirely correct, but it works for me.
cheers P

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions