How to remove Keyboard when UITableView gets scrolled
How to remove Keyboard when UITableView gets scrolled
- Subject: How to remove Keyboard when UITableView gets scrolled
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sat, 18 Apr 2015 17:32:46 +0700
I have a UITableView with a UISearchController.
One types into the search field and the table is filled with appropriate entries.
But only a small part of the table is visible, the rest is obscured by the keyboard.
When one stops typing and starts scrolling the table it would be nice if the keyboard would go out of the way, to make more of the table visible.
I seem to remember that the old (and now deprecated) UISearchDisplayController did this automatically.
Anyway: how can I detect that the table did start scrolling?
Using a timer to periodically check the index of the top row seems not very efficient.
There should be a better way.
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden