소스 검색

Aspen: use a saner navbar style

Felix Paul Kühne 12 년 전
부모
커밋
07e10a1f60
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 0
      AspenProject/VLCAppDelegate.m
  2. 1 1
      AspenProject/VLCPlaylistViewController.m

+ 4 - 0
AspenProject/VLCAppDelegate.m

@@ -46,6 +46,10 @@
 
         self.window.rootViewController = self.splitViewController;
     }
+    UINavigationBar *navbar = self.navigationController.navigationBar;
+    navbar.barStyle = UIBarStyleBlack;
+    navbar.translucent = YES;
+    navbar.tintColor = [UIColor colorWithWhite:.15 alpha:1.];
     [self.window makeKeyAndVisible];
     return YES;
 }

+ 1 - 1
AspenProject/VLCPlaylistViewController.m

@@ -21,7 +21,7 @@
 {
     self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
     if (self) {
-        self.title = @"Aspen Project";
+        self.title = @"Aspen";
         if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad) {
             self.clearsSelectionOnViewWillAppear = NO;
             self.contentSizeForViewInPopover = CGSizeMake(320.0, 600.0);