Quantcast
Viewing latest article 14
Browse Latest Browse All 20

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

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 latest article 14
Browse Latest Browse All 20

Trending Articles



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