Reputation: 1563
I have a tabbar Based app and when i present a modal view controller, it takes covers the uitabBar, please why is this?
View Before presenting contoller:
This is how i present the modal view controller from the home page:
SearchSongViewController *Search_MusicTableView = [[SearchSongViewController alloc] init];
Search_MusicTableView.modalTransitionStyle=UIModalTransitionStyleCrossDissolve;
[self.navigationController presentModalViewController:Search_MusicTableView animated:YES];
View After presenting the modal view controller:
This viewcontroller covers the whole uitabbar, please how should i present the viewcontoller so that it doesn't cover the tabbar ?
Thanks a million !
Upvotes: 0
Views: 277
Reputation: 53
I think this is normal with modal view controllers so I would suggest you just to use a push
segue.
Upvotes: 2