Post

Replies

Boosts

Views

Activity

How to hide keyboard in UISearchController
I'm trying to replicate the behavior of the keyboard in Apple's UIKit demo app for the tvOS.I want to configure the UISearchController so that if the search input isn't the focused item,the keyboard is hidden and only the "text input" field is shown. I also want to do thisprogrammatically because I don't use storyboards.Can anyone help me please? I went through the demo app but didn't see how that was configured.
4
0
3.1k
Oct ’15