隐藏回退按钮

 UIBarButtonItem *temporaryBarButtonItem = [[UIBarButtonItem alloc] init];
    temporaryBarButtonItem.title = @"";
     self.navigationItem.backBarButtonItem = temporaryBarButtonItem;
     [temporaryBarButtonItem release];


或者self.navigationItem.hidesBackButton = YES;前者在主视图中,后者在子视图中用 

你可能感兴趣的:(隐藏回退按钮)