iOS隐藏导航栏返回上一界面的back

方法一:
UIBarButtonItem *item = [[UIBarButtonItem alloc] initWithTitle:@”” style:UIBarButtonItemStylePlain target:nil action:nil];
self.navigationItem.backBarButtonItem = item;

方法二:
self.navigationItem.backBarButtonItem=nil;

你可能感兴趣的:(iOS隐藏导航栏返回上一界面的back)