首页 > 其他 > 详细

LeftBarButtonItems,定制导航栏返回按钮

时间:2015-06-18 21:25:08      阅读:300      评论:0      收藏:0      [点我收藏+]

? ??UIBarButtonItem *closeBtn = [[UIBarButtonItemalloc] initWithTitle:@"关闭"style:UIBarButtonItemStylePlaintarget:selfaction:@selector(closeAction)];

? ? UIBarButtonItem *backBtn = [[UIBarButtonItemalloc] initWithTitle:@"返回"style:UIBarButtonItemStylePlaintarget:selfaction:@selector(goBackAction)];

? ? [self.navigationItemsetLeftBarButtonItems:[NSArrayarrayWithObjects: backBtn,closeBtn ,nil]];

LeftBarButtonItems,定制导航栏返回按钮

原文:http://www.cnblogs.com/allen123/p/4586723.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!