&tag(Objective-C, UIKit);

目次[edit]

ボタンの追加[edit]

"+"ボタンを追加[edit]

- (void)viewDidLoad {
    [super viewDidLoad];
    ///// ナビゲーションバーのボタン
    UIBarButtonItem *newButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:self action:@selector(newPushed)];
    self.navigationItem.rightBarButtonItem = newButton;
    [newButton release];
}

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS