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

Answer by Neil Gall for Change Default Scrolling Behavior of UITableView Section Header

$
0
0

There are several things that need done to solve this problem in a non-hacky manner:

  1. Set the table view style to UITableViewStyleGrouped
  2. Set the table view backgroundColor to [UIColor clearColor]
  3. Set the backgroundView on each table view cell to an empty view with backgroundColor [UIColor clearColor]
  4. If necessary, set the table view rowHeight appropriately, or override tableView:heightForRowAtIndexPath: if individual rows have different heights.

Viewing all articles
Browse latest Browse all 20

Trending Articles



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