导航栏按钮
时间:2014-05-01 06:07:20
收藏:0
阅读:224
1
2
3
4
5
6
7
8
9
10
11
12
13 |
//导航栏按钮 UIBarButtonItem *doneButton = [[UIBarButtonItem alloc] initWithTitle:@ "完成" style:UIBarButtonItemStylePlain target: self action: @selector (done)]; self .navigationItem.rightBarButtonItem = doneButton; UIBarButtonItem *cancleButton = [[UIBarButtonItem alloc] initWithTitle:@ "取消" style:UIBarButtonItemStylePlain target: self action: @selector (cancle)]; self .navigationItem.leftBarButtonItem = cancleButton; self .navigationItem.leftBarButtonItem.tintColor = [UIColor blackColor]; self .navigationItem.rightBarButtonItem.tintColor = [UIColor whitecolor]; |
评论(0)