- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view from its nib.
UIBarButtonItem *rightBtnItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemSave target:self action:@selector(finish)];
self.navigationItem.rightBarButtonItem = rightBtnItem;
}
-(void) finish
{
// [self.delegate getNString:@"abc"];
[self.navigationController popViewControllerAnimated:YES];
}
自制按钮返回界面
最新推荐文章于 2024-07-14 16:17:27 发布