diff options
-rw-r--r-- | platform/ios/Classes/MuAppDelegate.m | 2 | ||||
-rw-r--r-- | platform/ios/Classes/MuDocumentController.m | 4 | ||||
-rw-r--r-- | platform/ios/Info.plist | 4 | ||||
-rw-r--r-- | platform/ios/MuPDF.xcodeproj/project.pbxproj | 16 |
4 files changed, 24 insertions, 2 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; diff --git a/platform/ios/Info.plist b/platform/ios/Info.plist index e21b5dc5..cbbf4fa4 100644 --- a/platform/ios/Info.plist +++ b/platform/ios/Info.plist @@ -87,6 +87,8 @@ <array> <string>armv7</string> </array> + <key>UIStatusBarHidden</key> + <true/> <key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationPortrait</string> @@ -101,6 +103,8 @@ <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> + <key>UIViewControllerBasedStatusBarAppearance</key> + <false/> <key>UTImportedTypeDeclarations</key> <array> <dict> diff --git a/platform/ios/MuPDF.xcodeproj/project.pbxproj b/platform/ios/MuPDF.xcodeproj/project.pbxproj index 1bbc8a0b..54b78264 100644 --- a/platform/ios/MuPDF.xcodeproj/project.pbxproj +++ b/platform/ios/MuPDF.xcodeproj/project.pbxproj @@ -331,8 +331,13 @@ isa = PBXProject; attributes = { CLASSPREFIX = Mu; - LastUpgradeCheck = 0460; + LastUpgradeCheck = 0500; ORGANIZATIONNAME = "Artifex Software, Inc"; + TargetAttributes = { + 968E1E3C1779A54F0050CEA3 = { + DevelopmentTeam = M2AA22CUFZ; + }; + }; }; buildConfigurationList = 968E1E381779A54F0050CEA3 /* Build configuration list for PBXProject "MuPDF" */; compatibilityVersion = "Xcode 3.2"; @@ -467,22 +472,28 @@ 968E1E581779A54F0050CEA3 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + IPHONEOS_DEPLOYMENT_TARGET = 6.1; + ONLY_ACTIVE_ARCH = YES; }; name = Debug; }; 968E1E591779A54F0050CEA3 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + IPHONEOS_DEPLOYMENT_TARGET = 6.1; }; name = Release; }; 968E1E5B1779A54F0050CEA3 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + CODE_SIGN_IDENTITY = "iPhone Developer"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; GCC_OPTIMIZATION_LEVEL = 0; INFOPLIST_FILE = "$(SRCROOT)/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 6.1; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE = ""; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; USER_HEADER_SEARCH_PATHS = ../../include; @@ -492,10 +503,13 @@ 968E1E5C1779A54F0050CEA3 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + CODE_SIGN_IDENTITY = "iPhone Developer"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; GCC_OPTIMIZATION_LEVEL = s; INFOPLIST_FILE = "$(SRCROOT)/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 6.1; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE = ""; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; USER_HEADER_SEARCH_PATHS = ../../include; |