5
iPhone Duo Tab bar not on right hand side
(lemmy.nz)
Official community for Mlem, a free and open-source iOS Lemmy client.
Rules
FAQ
I checked the source for this, and it's probably because Mlem is for some reason not using the normal
TabView, but aCustomTabBarview using a bridgedUITabBarController. Why?We use a UIKit tab bar because of the “swipe up” account switcher gesture, which (as far as I know) can’t be achieved without it.
It also provides a convenient hook for the tab reselection behaviour, which is more difficult to do with the SwiftUI tab bar. SwiftUI implements its own tab reselection behaviour, which we’d need to somehow turn off in order to use our own logic.
The UIKit tab bar orients correctly on iPhone Duo, if you build on Xcode 27.1 - we’re using Xcode 26 still, which is why it’s laid out wrong.