別のビュー コントローラーにプッシュしようとしていますが、ナビゲーション バーにバーボタン項目が表示されません。これが私のコードです:
- (void)viewDidLoad
{
[super viewDidLoad];
NSString *stringMoney1 = self.monier;
NSString *stringMoney2 = self.monier2;
NSString *appendedMoney = [stringMoney1 stringByAppendingString:stringMoney2];
self.moneyText.text = [NSString stringWithFormat:@"%@", appendedMoney];
self.moneyText.backgroundColor =[UIColor clearColor];
self.moneyText.scrollEnabled = NO;
self.moneyText.userInteractionEnabled = NO;
self.navigationController.navigationBar.tintColor = [UIColor whiteColor];
self.navigationController.navigationBarHidden = NO;
self.navigationController.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName : [UIColor whiteColor]};
self.navigationController.navigationBar.barTintColor = [UIColor redColor];
self.navigationController.navigationBar.translucent = NO;
self.title = @"INBOX";
self.moneyLbl.font = [UIFont fontWithName:@"Outstanding" size:8];
}
.xib ファイルまたは以前のビュー コントローラーの何かである可能性がありますか?
どんな助けでも大歓迎です!