|
@@ -17,7 +17,7 @@
|
|
|
#import <AVFAudio/AVFAudio.h>
|
|
|
#import <AVFoundation/AVFoundation.h>
|
|
|
|
|
|
-@interface CPDFViewController () <CPDFSoundPlayBarDelegate,CPDFAnnotationBarDelegate,CPDFToolsViewControllerDelegate,CPDFNoteOpenViewControllerDelegate,CPDFBOTAViewControllerDelegate,CPDFEditToolBarDelegate,CPDFFormBarDelegate,CPDFListViewDelegate,CPDFSignatureViewControllerDelegate>
|
|
|
+@interface CPDFViewController () <CPDFSoundPlayBarDelegate,CPDFAnnotationBarDelegate,CPDFToolsViewControllerDelegate,CPDFNoteOpenViewControllerDelegate,CPDFBOTAViewControllerDelegate,CPDFEditToolBarDelegate,CPDFFormBarDelegate,CPDFListViewDelegate,CPDFSignatureViewControllerDelegate,CPDFPageEditViewControllerDelegate>
|
|
|
|
|
|
@property(nonatomic, strong) CPDFAnnotationBar *annotationBar;
|
|
|
|
|
@@ -203,9 +203,8 @@
|
|
|
frame.origin.y = self.view.bounds.size.height-frame.size.height;
|
|
|
self.toolBar.frame = frame;
|
|
|
|
|
|
- CGRect rectStatus = [[UIApplication sharedApplication] statusBarFrame];
|
|
|
- tPosY = self.navigationController.navigationBar.frame.size.height + rectStatus.size.height;
|
|
|
- tBottomY = self.toolBar.frame.size.height;
|
|
|
+ tPosY = 0;
|
|
|
+ tBottomY = 0;
|
|
|
|
|
|
if (@available(iOS 11.0, *)) {
|
|
|
self.pdfListView.frame = CGRectMake(self.view.safeAreaInsets.left, tPosY, self.view.frame.size.width - self.view.safeAreaInsets.left - self.view.safeAreaInsets.right, self.view.frame.size.height - tBottomY - tPosY);
|