diff options
Diffstat (limited to 'platform/ios/Classes')
-rw-r--r-- | platform/ios/Classes/MuAppDelegate.m | 2 | ||||
-rw-r--r-- | platform/ios/Classes/MuDocumentController.m | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/platform/ios/Classes/MuAppDelegate.m b/platform/ios/Classes/MuAppDelegate.m index aaf0cff9..966db19f 100644 --- a/platform/ios/Classes/MuAppDelegate.m +++ b/platform/ios/Classes/MuAppDelegate.m @@ -30,7 +30,7 @@ [navigator setDelegate: self]; window = [[UIWindow alloc] initWithFrame: [[UIScreen mainScreen] bounds]]; - [window setBackgroundColor: [UIColor scrollViewTexturedBackgroundColor]]; + [window setBackgroundColor: [UIColor grayColor]]; [window setRootViewController: navigator]; [window makeKeyAndVisible]; diff --git a/platform/ios/Classes/MuDocumentController.m b/platform/ios/Classes/MuDocumentController.m index 9e867fb5..4415bf08 100644 --- a/platform/ios/Classes/MuDocumentController.m +++ b/platform/ios/Classes/MuDocumentController.m @@ -52,6 +52,10 @@ static void flattenOutline(NSMutableArray *titles, NSMutableArray *pages, fz_out if (!self) return nil; +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000 + if ([self respondsToSelector:@selector(automaticallyAdjustsScrollViewInsets)]) + self.automaticallyAdjustsScrollViewInsets = NO; +#endif key = [filename retain]; docRef = [aDoc retain]; doc = docRef->doc; |