Top "First-responder" questions

In Apple Cocoa programing, the first responder is the first object in a chain of NSResponder subclasses to be called upon receiving an even such as keypress, mouseclick, etc.

Get the current first responder without using a private API

I submitted my app a little over a week ago and got the dreaded rejection email today. It tells me …

objective-c cocoa-touch first-responder
iOS app "next" key won't go to the next text field

I have a simple scene (using storyboard in IB) with a Username and Password text box. I've set the keyboard …

iphone objective-c ios xcode first-responder
iPad keyboard will not dismiss if modal ViewController presentation style is UIModalPresentationFormSheet

Note: See accepted answer (not top voted one) for solution as of iOS 4.3. This question is about a behavior discovered …

ios iphone objective-c uitextfield first-responder
UiTextField and resignFirstResponder

I have a weird setup. I have a View called View1 and a ViewController call viewController1 in IB, View1 is …

iphone uiviewcontroller first-responder
Cannot set searchBar as firstResponder

I have a searchBar I'm setting in a tableviewcontroller. i've referenced this similar question UISearchBar cannot become first responder after …

ios objective-c uisearchbar first-responder uisearchcontroller
SwiftUI: How to make TextField become first responder?

Here's my SwiftUI code: struct ContentView : View { @State var showingTextField = false @State var text = "" var body: some View { return VStack { …

swift textfield swiftui first-responder
"First Responder" - Did I get that right?

Let me summarize this shortly: A "First Responder" in a nib file is an object, which represents the UI control …

objective-c cocoa nib first-responder
get notified when UITextField becomeFirstResponder

How I can get notified when UITextField becomeFirstResponder ? I can check like isFirstResponder or set to to become first Responder …

iphone ios uitextfield first-responder becomefirstresponder
iphone UISearchBar Done button always enabled

I have a UIViewController with a UISearchBar. I have replaced the Search Button by a Done button. However, when one …

iphone keyboard uisearchbar first-responder