rsattar / CLTokenInputView

A replica of iOS's native contact bubbles UI
MIT License
504 stars 127 forks source link

Ability to programmatically become first responder #39

Closed jordanhbuiltbyhq closed 7 years ago

jordanhbuiltbyhq commented 8 years ago

I would like to automatically bring up the keyboard so the user can immediately begin typing. Unfortunately [tokenInputView becomeFirstResponder] doesn't do the trick.

jjknudsen commented 7 years ago

You may have solved this already but I found this in the sample project which does what you're looking for.

if !tokenView.isEditing {
    tokenView.beginEditing()
}