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 e6b1c3e commit dc2294eCopy full SHA for dc2294e
ios/RCTPSPDFKit/RCTPSPDFKitView.m
@@ -220,7 +220,7 @@ - (BOOL)removeAnnotationWithUUID:(NSString *)annotationUUID {
220
221
NSArray<PSPDFAnnotation *> *allAnnotations = [[document allAnnotationsOfType:PSPDFAnnotationTypeAll].allValues valueForKeyPath:@"@unionOfArrays.self"];
222
for (PSPDFAnnotation *annotation in allAnnotations) {
223
- // Remove the annotation if the name matches.
+ // Remove the annotation if the uuids match.
224
if ([annotation.uuid isEqualToString:annotationUUID]) {
225
success = [document removeAnnotations:@[annotation] options:nil];
226
break;
0 commit comments