|
@@ -496,7 +496,8 @@ typedef NS_ENUM(NSUInteger, CDisplayPDFType) {
|
|
|
[tableView deselectRowAtIndexPath:indexPath animated:YES];
|
|
|
|
|
|
CDisplayPDFType type = CDisplayPDFTypeCropMode;
|
|
|
-
|
|
|
+ NSInteger index = self.pdfview.currentPageIndex;
|
|
|
+
|
|
|
if(indexPath.section == 0){
|
|
|
type = (CDisplayPDFType)[[self.displayModeArray objectAtIndex:indexPath.row] integerValue];
|
|
|
}else if(indexPath.section == 1) {
|
|
@@ -581,6 +582,7 @@ typedef NS_ENUM(NSUInteger, CDisplayPDFType) {
|
|
|
default:
|
|
|
break;
|
|
|
}
|
|
|
+ [self.pdfview goToPageIndex:index animated:NO];
|
|
|
}
|
|
|
|
|
|
@end
|