diff --git a/examples/iOS/SimplePhotoFilter/SimplePhotoFilter.xcodeproj/project.pbxproj b/examples/iOS/SimplePhotoFilter/SimplePhotoFilter.xcodeproj/project.pbxproj
index 411068c11..6ca346ce9 100755
--- a/examples/iOS/SimplePhotoFilter/SimplePhotoFilter.xcodeproj/project.pbxproj
+++ b/examples/iOS/SimplePhotoFilter/SimplePhotoFilter.xcodeproj/project.pbxproj
@@ -207,6 +207,11 @@
CLASSPREFIX = Showcase;
LastUpgradeCheck = 0500;
ORGANIZATIONNAME = "Cell Phone";
+ TargetAttributes = {
+ BCC1E69B1523E3620006EFA5 = {
+ DevelopmentTeam = CYTV43BJ3R;
+ };
+ };
};
buildConfigurationList = BCC1E6961523E3620006EFA5 /* Build configuration list for PBXProject "SimplePhotoFilter" */;
compatibilityVersion = "Xcode 3.2";
@@ -368,10 +373,13 @@
BCC1E6B51523E3630006EFA5 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ DEVELOPMENT_TEAM = CYTV43BJ3R;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "SimplePhotoFilter/SimplePhotoFilter-Prefix.pch";
INFOPLIST_FILE = "SimplePhotoFilter/SimplePhotoFilter-Info.plist";
+ IPHONEOS_DEPLOYMENT_TARGET = 6.0;
PRODUCT_NAME = "$(TARGET_NAME)";
+ TARGETED_DEVICE_FAMILY = 1;
WRAPPER_EXTENSION = app;
};
name = Debug;
@@ -379,10 +387,13 @@
BCC1E6B61523E3630006EFA5 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ DEVELOPMENT_TEAM = CYTV43BJ3R;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "SimplePhotoFilter/SimplePhotoFilter-Prefix.pch";
INFOPLIST_FILE = "SimplePhotoFilter/SimplePhotoFilter-Info.plist";
+ IPHONEOS_DEPLOYMENT_TARGET = 6.0;
PRODUCT_NAME = "$(TARGET_NAME)";
+ TARGETED_DEVICE_FAMILY = 1;
WRAPPER_EXTENSION = app;
};
name = Release;
diff --git a/examples/iOS/SimplePhotoFilter/SimplePhotoFilter/PhotoAppDelegate.m b/examples/iOS/SimplePhotoFilter/SimplePhotoFilter/PhotoAppDelegate.m
index 591901109..d82aa56fa 100755
--- a/examples/iOS/SimplePhotoFilter/SimplePhotoFilter/PhotoAppDelegate.m
+++ b/examples/iOS/SimplePhotoFilter/SimplePhotoFilter/PhotoAppDelegate.m
@@ -7,15 +7,19 @@ @implementation PhotoAppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
- self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
- // Override point for customization after application launch.
- self.window.backgroundColor = [UIColor whiteColor];
rootViewController = [[PhotoViewController alloc] initWithNibName:nil bundle:nil];
rootViewController.view.frame = [[UIScreen mainScreen] bounds];
- [self.window addSubview:rootViewController.view];
+ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
+ // Override point for customization after application launch.
+ self.window.backgroundColor = [UIColor whiteColor];
+// [self.window addSubview:rootViewController.view];
+ self.window.rootViewController = rootViewController;
[self.window makeKeyAndVisible];
+
+
+
return YES;
}
diff --git a/examples/iOS/SimplePhotoFilter/SimplePhotoFilter/SimplePhotoFilter-Info.plist b/examples/iOS/SimplePhotoFilter/SimplePhotoFilter/SimplePhotoFilter-Info.plist
index 09637b9c1..5ed4bae6f 100755
--- a/examples/iOS/SimplePhotoFilter/SimplePhotoFilter/SimplePhotoFilter-Info.plist
+++ b/examples/iOS/SimplePhotoFilter/SimplePhotoFilter/SimplePhotoFilter-Info.plist
@@ -45,5 +45,9 @@
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight
+ NSCameraUsageDescription
+
+ NSPhotoLibraryAddUsageDescription
+