R
R
Rocknglory2015-01-20 19:46:44
Objective-C
Rocknglory, 2015-01-20 19:46:44

How to make a UITableView Header transition to a control?

Good afternoon, I'm suffering with the following problem - there is a table with two sections, when scrolling to the second section, you need to fix its title at the top, but at the same time prevent the content from going up.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
An, 2015-01-21
@Rocknglory

The simplest and fastest solution would be
Those.
we limit the scrolling of the table to the height of the section ( rowHeigh *rowCount) but with the ability to scroll up to the full screen (table height) cells of different sizes, where the table is not plain, but group. Yes, yes, and also if it is a UITableViewController and UINavigationBar is enabled in it, then the tableview size will return all 568 pixels for a 4 "screen, along with the navigation bar, and you will need to provide for this. In short, a bunch of exceptions ...

S
smanioso, 2015-01-20
@smanioso

If the standard behavior of table headers is not suitable, then it is better to implement custom controls.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question