|
@@ -227,6 +227,7 @@
|
|
|
#pragma mark - Protect Mehtods
|
|
|
|
|
|
- (void)buttonItemClicked_back:(id)sender {
|
|
|
+
|
|
|
[self dismissViewControllerAnimated:YES completion:nil];
|
|
|
}
|
|
|
|
|
@@ -344,6 +345,11 @@
|
|
|
|
|
|
#pragma mark - CPDFFormSwitchViewDelegate
|
|
|
- (void)SwitchActionInView:(CPDFFormSwitchView *)view switcher:(UISwitch *)switcher {
|
|
|
+ if(switcher.on) {
|
|
|
+ if([self.annotManage.pdfListView.activeAnnotations containsObject:self.annotManage.annotStyle.annotations.firstObject]) {
|
|
|
+ [self.annotManage.pdfListView updateActiveAnnotations:@[]];
|
|
|
+ }
|
|
|
+ }
|
|
|
[self.comboxChoiceWidget setHidden:switcher.on];
|
|
|
[self refreshUI];
|
|
|
}
|