Skip to content

Commit

Permalink
crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wysaid committed Oct 12, 2015
1 parent c56fc9f commit 5e9ac77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@
BCB5DDE314E86899000AF3C2 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ENABLE_BITCODE = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "SimpleVideoFileFilter/SimpleVideoFileFilter-Prefix.pch";
INFOPLIST_FILE = "SimpleVideoFileFilter/SimpleVideoFileFilter-Info.plist";
Expand All @@ -394,6 +395,7 @@
BCB5DDE414E86899000AF3C2 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ENABLE_BITCODE = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "SimpleVideoFileFilter/SimpleVideoFileFilter-Prefix.pch";
INFOPLIST_FILE = "SimpleVideoFileFilter/SimpleVideoFileFilter-Info.plist";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(

rootViewController = [[SimpleVideoFileFilterViewController alloc] initWithNibName:@"SimpleVideoFileFilterViewController" bundle:nil];
rootViewController.view.frame = [[UIScreen mainScreen] bounds];
[self.window addSubview:rootViewController.view];
self.window.rootViewController = rootViewController;
// [self.window addSubview:rootViewController.view];

[self.window makeKeyAndVisible];
return YES;
Expand Down

0 comments on commit 5e9ac77

Please sign in to comment.