UIBarButtonItem
ユニバーサル右/左をに追加するにはどうすればよいUINavigationController
ですか?UIViewController
私はすべてのありがとうのために同じ左右のナビゲーションバーボタンでナビゲーションベースのアプリを作ろうとしています
2 に答える
0
You can add the rightbarButtonItem in this way :-
UIBarButtonItem *btnName= [[[UIBarButtonItem alloc initWithTitle:@"btnTitle" style:UIBarButtonItemStyleBordered target:self action:@selector(btnAction)]autorelease];
self.navigationItem.rightBarButtonItem = btnName;
于 2012-05-09T09:56:25.063 に答える