navigationController」カテゴリーアーカイブ

iPhone hide Navigation Bar only on first page

平成27年2月23日(月曜日)
[objc]
– (void)viewWillAppear:(BOOL)animated {
[self.navigationController setNavigationBarHidden:YES animated:animated];
[super viewWillAppear:animated];
}

– (void)viewWillDisappear:(BOOL)animated {
[self.navigationController setNavigationBarHidden:NO animated:animated];
[super viewWillDisappear:animated];
}
[/objc]