File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1069,12 +1069,9 @@ - (void)setFieldValue:(PTField *)field value:(id)value
10691069
10701070-(void )setAnnotationPermissionCheckEnabled : (BOOL )annotationPermissionCheckEnabled
10711071{
1072- self.documentViewController .toolManager .annotationPermissionCheckEnabled = annotationPermissionCheckEnabled;
1073- }
1072+ _annotationPermissionCheckEnabled = annotationPermissionCheckEnabled;
10741073
1075- -(BOOL )annotationPermissionCheckEnabled
1076- {
1077- return self.documentViewController .toolManager .annotationPermissionCheckEnabled ;
1074+ [self applyViewerSettings ];
10781075}
10791076
10801077#pragma mark - Collaboration
@@ -1296,7 +1293,10 @@ - (void)applyViewerSettings
12961293 self.toolManager .showDefaultSignature = self.showSavedSignatures ;
12971294
12981295 self.toolManager .signatureAnnotationOptions .signSignatureFieldsWithStamps = self.signSignatureFieldsWithStamps ;
1299-
1296+
1297+ // Annotation permission check
1298+ self.toolManager .annotationPermissionCheckEnabled = self.annotationPermissionCheckEnabled ;
1299+
13001300 // Use Apple Pencil as a pen
13011301 Class pencilTool = [PTFreeHandCreate class ];
13021302 if (@available (iOS 13.0 , *)) {
You can’t perform that action at this time.
0 commit comments