瀏覽代碼

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);