5
我在代碼中的UINavigationController創建的,但我想改變風格,以黑色半透明UINavigationController的風格
FirstViewController *fvc = [[FirstViewControlelr alloc] init];
UINavigationController *navcon = [[UINavigationController alloc] init];
navcon.navigationController.navigationBar.barStyle = UIBarStyleBlackTranslucent;
[navcon pushViewController:fvc animated:NO];
[self.window addSubview:navcon.view];
[self.window makeKeyAndVisible];
return YES;
但他並沒有改變。請幫幫我!
是)愚蠢的錯誤。謝謝 – 2011-03-21 10:33:10