[ <your uinavigationitem> setHidesBackButton:NO animated:NO ] ? 

On Dec 29, 2011, at 6:35 PM, Alexander Reichstadt wrote:

> Hi,
> 
> this might be totally trivial, but all suggestions I found in the docu and on 
> the web failed. I don't want my detail view to show any kind of back button. 
> So from the documentation I came up with the following possibilities:
> 
> 1. set leftItemsSupplementBackButton to NO
> 2. set leftBarButtonItem to nil
> 3. set leftBarButtonItems to nil
> 
> The button remains though.
> 
>            self.detailViewController = [[BVZDetailViewController alloc] 
> initWithNibName:@"BVZDetailViewController" bundle:nil];
>            
> self.detailViewController.navigationItem.leftItemsSupplementBackButton = NO;
>            self.detailViewController.navigationItem.leftBarButtonItem = nil;
>            self.detailViewController.navigationItem.title = @"bla";
> 
> The title bla is displayed. So it's not clear where it is changed and where 
> this button is added or rather where I should remove it after it is added by 
> default.
> 
> I tried the code above --just slightly changed to self.navigationItem--
> 
> - in the controller where the detail view is created
> - in initWithNib
> - in viewDidLoad
> 
> Nothing changes except for the title.
> 
> Please, can someone help?
> 
> Thanks
> Alex
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/rols%40rols.org
> 
> This email sent to r...@rols.org

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to