Questions tagged [resignfirstresponder]

A UIResponder method added for handling remote-control events. for iOS 4 and iOS4+

When the user taps a control that can accept first responder status, that control is sent the becomeFirstResponder message. Until another control becomes the first responder or the current control is sent the resignFirstResponder message, that control will keep this status and receive keyboard and shake input.

170 questions
-1
votes
3 answers

TableView viewForHeaderInSection Won't Resume First Responder

Weird situation over here, hoping someone can help. Basically, I have a switch like this: private var searchMode = false { didSet { if !searchMode { self.tableView.endEditing(true) } tableView.reloadData() …
AlexK
  • 336
  • 8
  • 21
  • 41
-1
votes
1 answer

resignFirstResponder and - (BOOL)disablesAutomaticKeyboardDismissal {return NO;} isnt hiding the keyboard, why isnt it working?

I want the keyboard to disappear when the user presses the "return" button, but I have tried resignFirstResponder, endEditing:YES and - (BOOL)disablesAutomaticKeyboardDismissal {return NO;}and the keyboard still didn't disappear. What should I…
Jap
  • 11
  • 1
  • 4
-1
votes
2 answers

iOS Keyboard doesn't resign until after view transition

I have set this UIViewController to be the delegate for the UITextField in the viewDidLoad with this line: self.nameInputTextField.delegate = self;. I have set the delegate on the class as well by adding to the @interface…
jungledev
  • 4,195
  • 1
  • 37
  • 52
-1
votes
2 answers

tableview as a intelligence in iphone not working

I have a textfield and a tableview. User may select textfield data from tableview or any other data.but after entering user own data my tableview must disappear.how can i achieve this.if i use resign first responder did select rowmethod is not…
-2
votes
1 answer

On hiding keyboard after edit , UISearchbar hides itself?

I have presented a screen using navigation controller and in that screen I have a search bar , which I have made as first responder in viewWillAppear() . The problem is that I want to hide keyboard when done button is clicked or cancel in searchBar…
1 2 3
11
12