• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to remove Keyboard when UITableView gets scrolled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to remove Keyboard when UITableView gets scrolled
      • From: Michael Babin <email@hidden>
  • Prev by Date: Re: No sound through speaker
  • Next by Date: Re: How to remove Keyboard when UITableView gets scrolled
  • Previous by thread: Re: No sound through speaker
  • Next by thread: Re: How to remove Keyboard when UITableView gets scrolled
  • Index(es):
    • Date
    • Thread