From 869398ebfb18702b9de42f723ff8072b116eb04f Mon Sep 17 00:00:00 2001 From: matt handler Date: Fri, 29 Apr 2011 16:35:15 -0400 Subject: changing subscribedSources -> sources, adding instant level today/tomorrow/yesterday for section headers, setting status bar to black and showing once app loads, handling url just an nslog right now, updated image, added piccast:// protocol, setting up faves in the db, adding search and browse views --- Classes/PicCastAppDelegate.m | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Classes/PicCastAppDelegate.m') 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"; -- cgit v1.2.3