设置上一级controller的backBarButtonItem

 

设置上一级controller的backBarButtonItem.

self.navigationItem.backBarButtonItem= [[UIBarButtonItem alloc]initWithTitle:@"返回"
                                                                           style:UIBarButtonItemStylePlain
                                                                          target:nil                                                                       
                                                                           action:@selector(back_event:)]; 

 
posted @ 2015-08-03 16:10  Cheetah_yang  阅读(142)  评论(0编辑  收藏  举报