-
Hi Leo and community! I'm starting a podcast project, and I'll use that library, but I faced some issues. Situation: I have a tabBarController that contains three navigationControllers. First o all, I play the song, starting the LNPopupFlow tabBarController.presentPopupBar(withContentViewController), right? that's a PlayerViewController. And I'll present on tabBar. When user push a new controller from navigationController, such as Settings, naturally, popupController and tabBarController appears... because NavigationController is embed of tabBar, right? When I push a newController, if I handle hidesBottomBarWhenPushed = true, I can hide the tabBar, but popup appears... I tried to only change visibility, but such as you specified, it's not a correct way to hide. I'm using tabBarController.presentPopupBar() , then, when I want to "hide", I wrote that function:
So, when my controllers didAppear, I wrote that func:
I imagine that there's a simplest way to only hide that component when you need that kind of behavior... but I didn't found it. Imagine Spotify, you could push a new screen (without component), continue playing and some screens not show the component... open is the entire player, close too, right? What is the best approach for that? Do you wrote a function to handle position or something like that to only hide of screen? I tried change frame height, tried lots of things :(. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello, There is no perfect answer here.
I suggest presenting you settings modally. |
Beta Was this translation helpful? Give feedback.
Hello,
There is no perfect answer here.