Closed voicecho closed 11 years ago
When I select a photo album without photos, "EXC_BAD_ACCESS" error appears in the following code in ELCAssetTablePicker.m
[self.tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:ceil(assetGroup.numberOfAssets / 4.0)-1 inSection:0] atScrollPosition:UITableViewScrollPositionBottom animated:NO];
This bit of code looks suspicious:
ceil(assetGroup.numberOfAssets / 4.0)-1
When I select a photo album without photos, "EXC_BAD_ACCESS" error appears in the following code in ELCAssetTablePicker.m