Is the table view hiding the toolbar? I ask because views are added as subviews 
on top of whatever is already there. Doing it in viewWillAppear would put them 
at the top. Doing it in viewDidLoad might leave it under the table view 
depending on the order in which they were added.


On Mar 19, 2013, at 8:36 PM, Koen van der Drift <koenvanderdr...@gmail.com> 
wrote:

> 
> On Mar 19, 2013, at 11:28 PM, David Rowland <rowla...@sbcglobal.net> wrote:
> 
>> viewWillAppear occurs every time the view reappears, which may be frequently 
>> and has nothing to do with the creation and initialization of the view. Each 
>> time it appears you are recreating the button and setting in 
>> self.prevButton, e.g. which will release the former button and install an 
>> identical one. So, no, this is not the recommended place to do this. 
> 
> Good to know, thanks.
> 
>> 
>> Why viewDidLoad fails isn't clear. Is it possible that the toolbar is hidden 
>> or behind some other view?
> 
> 
> I'm calling self.navigationController.toolbarHidden = NO;  - that makes it 
> visible, correct?
> 
> The rest of the view is a tableView, which came for free inside 
> MyTableViewController.
> 
> - Koen.


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to