cocoabits/MASPreferences

Best practices for setting first responder in preference view controllers?

Closed this issue · 1 comments

Seems no matter what I do in my preference view controller, I can't control the first responder when switching views.

Right now, in my view controller's viewWillAppear, I have the following:

[[self.view window] makeFirstResponder:self.someUIElementProperty];

But it doesn't seem to take. Any suggestions?

EDIT Sometimes, it pays to read code. Setting initialKeyView on my preference view controller.

Yeah, initialKeyView should do the thing :) Sorry for the lack of documentation.