Open stockgainsmobile opened 5 years ago
@stockgainsmobile have you found any solution for this issue?
I have a custom tab bar and I set up the button each time the view is shown. For example.
override func layoutSubviews() {
super.layoutSubviews()
setupMiddleButton()
middleButton.center = CGPoint(x: UIScreen.main.bounds.width / 2, y: 8)
}
I also use the storyboard to remove the tab bar on view controllers i don't want it to be shown on. I used to actually manually write code to remove the tab bar but found out that on the view controllers inspector on storyboard you can say dont include the story board.
When perform a page change and remove the app bar, the bottom rounded button ends up at the top of my screen.
Do you know of any way to control this button. When I actually return to the previous screen the rounded button still sits at the top of the screen.