|
@@ -408,6 +408,8 @@
|
|
|
title = NSLocalizedString(@"Text", nil);
|
|
|
else if (annotationMode == CAnnotationTypeSignDate)
|
|
|
title = NSLocalizedString(@"Date", nil);
|
|
|
+ else if (annotationMode == CAnnotationTypeStamp)
|
|
|
+ title = NSLocalizedString(@"Stamp", nil);
|
|
|
else
|
|
|
title = @"";
|
|
|
if(_annotations.count > 1) {
|
|
@@ -486,12 +488,10 @@
|
|
|
self.propertiesBox.contentView = vc.view;
|
|
|
self.contentViewController = vc;
|
|
|
} else if (annotationMode == CAnnotationTypeStamp) {
|
|
|
- self.titleViewHeightConstraint.constant = 0;
|
|
|
KMAnnotationStampViewController *vc = [[KMAnnotationStampViewController alloc] init];
|
|
|
vc.pdfView = self.pdfView;
|
|
|
vc.annotationModel = annotationModel;
|
|
|
- vc.view.frame = [self viewControllerRect];
|
|
|
- [self.view addSubview:vc.view];
|
|
|
+ self.propertiesBox.contentView = vc.view;
|
|
|
self.contentViewController = vc;
|
|
|
} else if (annotationMode == CAnnotationTypeSignSignature) {
|
|
|
KMSignatureAnnotationViewController *vc = [[KMSignatureAnnotationViewController alloc] init];
|