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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to