summaryrefslogtreecommitdiffstats
path: root/Classes/PicCastAppDelegate.m
diff options
context:
space:
mode:
Diffstat (limited to 'Classes/PicCastAppDelegate.m')
-rw-r--r--Classes/PicCastAppDelegate.m11
1 files changed, 8 insertions, 3 deletions
diff --git a/Classes/PicCastAppDelegate.m b/Classes/PicCastAppDelegate.m
index a3bc294..3da5a07 100644
--- a/Classes/PicCastAppDelegate.m
+++ b/Classes/PicCastAppDelegate.m
@@ -50,6 +50,9 @@
// Override point for customization after application launch.
// Add the tab bar controller's view to the window and display.
+ NSLog(@"launched");
+ [[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:UIStatusBarAnimationNone];
+ [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackOpaque];
[self.window addSubview:tabBarController.view];
[self.window makeKeyAndVisible];
@@ -134,9 +137,11 @@
[self prompt:title withMessage:message andButtonTitle:buttonTitle withDelegate:self];
}
-//- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
-// return [facebook handleOpenURL:url];
-//}
+- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
+ NSLog(@"url: %@", [url absoluteString]);
+ return YES;
+ //return [facebook handleOpenURL:url];
+}
+ (NSString *) getDatabasePath {
NSString *databaseName = @"PicCastSqlTable.db";