ipalibowhyte
ipalibowhyte

Reputation: 1563

Modal Viewcontoller covers uiTabBar

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:

enter image description here

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:

enter image description here

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

Answers (1)

fabf98dev
fabf98dev

Reputation: 53

I think this is normal with modal view controllers so I would suggest you just to use a push segue.

Upvotes: 2

Related Questions