iphone - UITable first section contains a -


So, I can provide a little picture if it is clear.

I have a search bar at the very first row of a UITableView table with lots of rows, works great, okay.

I have added the "plain" index, alphabetical headings, before each section displayed in the table. I have added the most indicator to jump quickly on any section.

However, since UISearchBar is part of the table (the first element) when UISearchBar is drawn, it removes UISearchBar, a bit squishing it. It looks silly that UISearchBar is not part of an option table, but I have no other place with me.

Any ideas on how to get the most index on the UISearchBar?

Thanks,

  • sk

I usually end up with a UITableViewController subclass, then finally convert it to just a plain UIViewController subclass so that UITableView only be a part of a more included view. Just create a scene with the search bar at the top, and the table that moves to the rest.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -