Wednesday, October 28, 2026
HomeiOS Developmentios - UITabBar picture incorrectly positioned on iPad when inside splitview +...

ios – UITabBar picture incorrectly positioned on iPad when inside splitview + navcontroller

[ad_1]

I’ve a hierarchy like so:

SplitViewCotrollers -

In storyboard, on iPhones (in all orientations), and when utilizing iPad break up display with one other app (see screenshot under with contacts facet by facet) this all works nice.

enter image description here

Nonetheless, when the iPad app has the complete display, my tab bar pictures are horizontal as an alternative of vertical.

enter image description here
enter image description here

Anybody know of a strategy to drive the tab bar to alter the orientation of it is pictures so it is vertical? It is nearly just like the OS does not acknowledge that it needs to be utilizing the compact traits for this mode on iPad.

Additional particulars:

  • That is an iPad ninth Gen simulator on iOS 15.4. and can be current on an actual iPad (fifth gen iOS 15).
  • I’m utilizing SF Symbols for the picture within the tab bar
  • I’m utilizing the method described right here in order that I can have extra tremendous grained management over whether or not any given view needs to be proven within the grasp nav/tab view or if it ought to present up within the element view.
  • I’m utilizing .allVisible for the preferredDisplayMode, tried altering it to major over with no luck.

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments