DHSmartScreenshot
DHSmartScreenshot copied to clipboard
How to exclude all rows under a specified section?
For instance, a table view contains section 1, 2, 3..., there are several rows under each section, but their quantities are dynamic and different.
How to exclude section 2 and its all rows when using this?
Hi iOsdev, right now there is no way to accomplish that "the easy way", the work around I suggest is to build the 3 sets of indexes and indexPaths for the sections, rows and footers that are of your interest, then you use this method:
- (UIImage *)screenshotOfHeadersAtSections:(NSSet *)includedHeaderSections footersAtSections:(NSSet *)includedFooterSections rowsAtIndexPaths:(NSSet *)includedIndexPaths;
I will be thinking on a way to add your suggestion as a feature on a forthcoming release.