Re: uitabbar translucency and hiding

2016-08-22 Thread Torsten Curdt
Hey Scott > Can you elaborate further on your use case and what problem you are trying > to solve? > > I would suggest you have found this difficult because a UITabBarController > does not sound like an appropriate UI element for your use case. Specially, > what you're describing is using a tab

Re: uitabbar translucency and hiding

2016-08-22 Thread Scott Ahten
> On Aug 20, 2016, at 7:29 PM, Torsten Curdt wrote: > > Now I would like to hide the UITabBar (on action). Hello, Torsten. Can you elaborate further on your use case and what problem you are trying to solve? I would suggest you have found this difficult because a

Re: uitabbar translucency and hiding

2016-08-21 Thread Roland King
> > Maybe there’s a sanctioned way of moving a child view controller to a > different parent view controller (so, move the view controller, not the > view), but I’m in over my head at this point. > I haven’t read the whole thread, however to this particular comment, there is a sanctioned

Re: uitabbar translucency and hiding

2016-08-21 Thread Torsten Curdt
> > > Well, you can use a plain UIViewController as the root controller, and > make the UITabBarController a child of that. But I don’t think that helps > if there’s a sub-hierarchy of controllers under the tab bar controllers > that isn’t easy to recreate when you do a segue. > Yeah - I don't

Re: uitabbar translucency and hiding

2016-08-21 Thread Quincey Morris
On Aug 21, 2016, at 13:15 , Torsten Curdt wrote: > > Wrap the root controller (of UIWindow - which is my UITabBarController)? Well, you can use a plain UIViewController as the root controller, and make the UITabBarController a child of that. But I don’t think that helps if

Re: uitabbar translucency and hiding

2016-08-21 Thread Torsten Curdt
On Sun, Aug 21, 2016 at 9:56 PM, Quincey Morris < quinceymor...@rivergatesoftware.com> wrote: > On Aug 21, 2016, at 12:47 , Torsten Curdt wrote: > > > Ideally I would present a modal controller > > > Is there a solution where you segue from the tab view controller to a >

Re: uitabbar translucency and hiding

2016-08-21 Thread Quincey Morris
On Aug 21, 2016, at 12:47 , Torsten Curdt wrote: > > Ideally I would present a modal controller Is there a solution where you segue from the tab view controller to a non-tab-view controller which has an identical view, aside from being a bit taller? You might have to embed

Re: uitabbar translucency and hiding

2016-08-21 Thread Torsten Curdt
> > I’m no expert in iOS view controller behavior, but since no one has jumped > in, I’ll contribute how I understand it. > Thanks for jumping in here, Quincey. Hiding the tab does NOT seem like a reasonable way to approach this. > According to the UITabBarController documentation, “You should

Re: uitabbar translucency and hiding

2016-08-21 Thread Quincey Morris
On Aug 20, 2016, at 16:29 , Torsten Curdt wrote: > > One would think this would be enough: > > if let tabBar = self.tabBarController?.tabBar { > tabBar.hidden = !visible > } I’m no expert in iOS view controller behavior, but since no one has jumped in, I’ll contribute

uitabbar translucency and hiding

2016-08-20 Thread Torsten Curdt
I have an app with UITabBar und UINavigationBar(s). All are non-translucent. So the content area of the view controllers is in between the two. Now I would like to hide the UITabBar (on action). One would think this would be enough: if let tabBar = self.tabBarController?.tabBar {