To collapse table header in swift
1. Make a property of NSMutableSet, name it "collapsedSections", this property will be use to check Collapsed section in the UItableViewCell.
2. Create a header for UITableView and give UIButton tag to the header .
3. To Collapse section of UITableView the following method will be trigger .
No comments:
Post a Comment