Re: How to get rid of the back button in UIView
Re: How to get rid of the back button in UIView
- Subject: Re: How to get rid of the back button in UIView
- From: Roland King <email@hidden>
- Date: Thu, 29 Dec 2011 18:44:47 +0800
.. or even setHidesBackButton:YES animated:NO
.. what's up with me today ...
On Dec 29, 2011, at 6:41 PM, Roland King wrote:
> [ <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 (email@hidden)
>>
>> 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:
>>
>> This email sent to email@hidden
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden