This is kind of the same situation as with a UINavigationController . Using any kind of seque except for push will not persist the navigation bar or tab bar. The workaround for UINavigationController is to embed the detail view in it's own UINavigationController .
If you think about it, this makes sense. The purpose of a modal seque is to present the user with some actionable, perhaps off-topic information. Speaking from UX theory, you normally would only provide a couple of ways out of that use case.
Up vote 0 down vote favorite share g+ share fb share tw.
In my app I have a Tab Bar Controller that enable several tabs. One of these tabs is the one represented in the picture below: By pressing the "i" button, the second view is opened. By pressing the "Back" button, the first view is opened again.
These transitions are made with Storyboard Segues. The problem is that if I use Modal style for the Segue, the Tab bar disappears. My question is: only Push style Segues can be used in case of Tab bar?
Is there a way to implement instead Modal transitions and keep the tab bar visible with Storyboard? Thanks in advance, yassa ios view storyboard transition link|improve this question asked Jan 1 at 19:31yassassin14910 54% accept rate.
This is kind of the same situation as with a UINavigationController. Using any kind of seque except for push will not persist the navigation bar or tab bar. The workaround for UINavigationController is to embed the detail view in it's own UINavigationController.
If you think about it, this makes sense. The purpose of a modal seque is to present the user with some actionable, perhaps off-topic information. Speaking from UX theory, you normally would only provide a couple of ways out of that use case.
For a tab bar, it doesn't really make sense to use a modal seque while wanting the tab bar to remain visible as that would allow the user to navigate away from your modal view. With that said, you may try making your modal view a shortened height so that it doesn't cover up the tab bar when it's pushed onto the stack. That is untested, but it seems possible in my mind.
Thank you for your answer. I don't understand the workaround for navigation controller, since modal segues cannot be connected to Navigation Controller. Concerning your suggestion about tab bar, I wasn't able to change size of the modal view, since being this the only view of the controller, it must be of the entire screen size... Actually I used the delegate with self dismissViewControllerAnimated:YES completion:nil; to go back from the modal view and get again the tab bar.
But it's only a partial workaround to the problem: any other suggestions will be really appreciated! – yassassin Jan 2 at 10:04 Click your view controller that is used as a modal and then go to Editor->Embed in Navigation Controller. That'll get your navigation controller in the modal view.
However, you're not going to be able to add your main tab bar to the modal view. It simply doesn't align with the paradigms and normal usage of a modal view controller. – Jesse Bunch Jan 2 at 22:04.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.