|
@@ -646,15 +646,15 @@ NSNotificationName const CPDFListViewAnnotationsAttributeHasChangeNotification =
|
|
|
}
|
|
|
|
|
|
-(void)refreshActiveAnnotations:(NSArray<CPDFAnnotation *> *)activeAnnotations isRight:(BOOL)isRight {
|
|
|
- for (CPDFAnnotation *annotation in self.activeAnnotations) {
|
|
|
- if([annotation isKindOfClass:[CPDFLinkAnnotation class]]) {
|
|
|
- CPDFLinkAnnotation *linkAnnotation = (CPDFLinkAnnotation *)annotation;
|
|
|
- if((linkAnnotation.destination || linkAnnotation.URL.length > 0)) {
|
|
|
- } else {
|
|
|
- [self removeAnnotation:linkAnnotation];
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+// for (CPDFAnnotation *annotation in self.activeAnnotations) {
|
|
|
+// if([annotation isKindOfClass:[CPDFLinkAnnotation class]]) {
|
|
|
+// CPDFLinkAnnotation *linkAnnotation = (CPDFLinkAnnotation *)annotation;
|
|
|
+// if((linkAnnotation.destination || linkAnnotation.URL.length > 0)) {
|
|
|
+// } else {
|
|
|
+// [self removeAnnotation:linkAnnotation];
|
|
|
+// }
|
|
|
+// }
|
|
|
+// }
|
|
|
|
|
|
if(activeAnnotations) {
|
|
|
NSArray *selectTure = [activeAnnotations filteredArrayUsingPredicate:[NSPredicate predicateWithFormat:@"SELF in %@", self.activeAnnotations]];
|