|
@@ -133,7 +133,7 @@
|
|
|
}
|
|
|
|
|
|
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
|
|
|
- return 2;
|
|
|
+ return self.iconArr.count;
|
|
|
}
|
|
|
|
|
|
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
|
|
@@ -167,6 +167,8 @@
|
|
|
|
|
|
}];
|
|
|
|
|
|
+ NSLog(@"indexpath.row %zd",indexPath.row);
|
|
|
+
|
|
|
if(self.delegate && [self.delegate respondsToSelector:@selector(CPDFToolsViewControllerDismiss:selectItemAtIndex:)]){
|
|
|
[self.delegate CPDFToolsViewControllerDismiss:self selectItemAtIndex:indexPath.row];
|
|
|
}
|