views:

262

answers:

1

Please refer to bellow image to get detail: alt text

I think, UITableView has some events occur when scrolling em when a group complete replace other, but I don't know :(

+2  A: 

You can get drawing rectangle for each section using -rectForSection method (see "Accessing Drawing Areas of the Table View" part in UITableView docs). Then in your UITableViewDelegate implementation you can track scrolling events in table view, e.g. in -scrollViewDidScroll: method you can compare current contentsOffset and origin point of the rectangle for each section to determine which section is active at the moment.

Vladimir
This look like good, I'll confirm, thank Vladimir!
hungbm06
Great! You are so perfect! Many thank, Vladimir!
hungbm06