Quantcast
Channel: Change Default Scrolling Behavior of UITableView Section Header - Stack Overflow
Viewing all articles
Browse latest Browse all 20

Answer by AlexBB for Change Default Scrolling Behavior of UITableView Section Header

$
0
0

I found an alternative solution, use the first cell of each section instead a real header section, this solution don't appears so clean, but works so fine, you can use a defined prototype cell for your headers section, and in the method cellForRowAtIndexPath ask for the indexPath.row==0, if true, use the header section prototype cell, else use your default prototype cell.


Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>