dekatotoro / dekatotoro/SlideMenuControllerSwift
SlideMenu with UITabBarController : Strange behaviour
- Dominant language
- Swift
- Stars
- 3.4k
- Forks
- 742
- PR merge metrics
- No merged PRs in 30d
Description
Hello @dekatotoro, @Pluto-Y ,
I have quite an issue while using the SlideMenuController with a mainViewController being an UITabBarController.
Here's my case :
I have a tab bar with two tabs and another VC
When I'm crawling in the tabs, everything is perfect, but when I show the other view controller that is not related to the tabs, when it's dismissed, the layout of my tabs are broken. The frames are a little too high and we can't see the label in the first tab anymore.

Here is the code : https://github.com/Nitner0C/slideMenuControllerTabs
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked reproduction project, slideMenuControllerTabs, and reproduce the sequence of switching between the two tab-bar tabs, presenting the unrelated view controller, and dismissing it. Inspect the SlideMenuControllerSwift integration and compare the tab layout before and after dismissal. Done means the tab views retain their correct frames and the first tab label remains visible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100