navigationcontroller导航隐藏问题

-(void)viewWillAppear:(BOOL)animated{
    [self.navigationController setNavigationBarHidden:NO animated:NO];
}
-(void)viewWillDisappear:(BOOL)animated{
    [self.navigationController setNavigationBarHidden:YES animated:YES];
}

posted @ 2016-06-14 12:33  谢小锋  阅读(308)  评论(0编辑  收藏  举报