leftBarButtonItem

设置上一级controller的backBarButtonItem.

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

你可能感兴趣的:(leftBarButtonItem)