We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5261ea7 commit a75487eCopy full SHA for a75487e
ios/RCTPSPDFKit/RCTPSPDFKitView.m
@@ -213,7 +213,7 @@ - (BOOL)removeAnnotationWithUUID:(NSString *)annotationUUID {
213
NSArray<PSPDFAnnotation *> *allAnnotations = [[document allAnnotationsOfType:PSPDFAnnotationTypeAll].allValues valueForKeyPath:@"@unionOfArrays.self"];
214
for (PSPDFAnnotation *annotation in allAnnotations) {
215
// Remove the annotation if the name matches.
216
- if ([[annotation valueForKey:@"uuid"] isEqualToString:annotationUUID]) {
+ if ([annotation.uuid isEqualToString:annotationUUID]) {
217
success = [document removeAnnotations:@[annotation] options:nil];
218
break;
219
}
0 commit comments