1
votes

So in the root of my app, I have a UITabVarController (created in the storybaord). And when the user goes to one of my tabs, I have a special class that initalizes by presenting a modal view controller. So my question is: Is there a way to present this modal view inside the UITabBarController - So I will still see the other tabs, rather than being on top of them.

I was thinking something like:

self.parentViewController.tabBarController presentViewController
self.parentViewController ...

Thanks in advance.

1
Is your modal view controller one of the tabs or does it appear as a result of an action on one of the tabs (not an actual tab)? - Sam Spencer
The modal view is called from one of the tabs when it is loaded for the first time. - Andrew

1 Answers

0
votes

What you may want is a NavigationController instead of doing things modally. You can hide the navigation bar if you don't need that.