button item lost when hide and unhide toolbar

Posted by RAGOpoR on Stack Overflow See other posts from Stack Overflow or by RAGOpoR
Published on 2010-03-12T11:21:03Z Indexed on 2010/03/19 4:01 UTC
Read the original article Hit count: 296

Filed under:
|

i dont know, why the button are disappear after the toolbar set to hide and unhide. how can i fix it? and i setup my button at this method

-(void)viewDidAppear:(BOOL)animated 

this code use for hide toolbar

    [self.navigationController setNavigationBarHidden:YES animated:YES];
    [[UIApplication sharedApplication] setStatusBarHidden:YES animated:YES];
    [self.navigationController setToolbarHidden:YES animated:YES];

alt text

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uibarbuttonitem