We are aware that we can opt out of the vertical bar to make it horizontal for folded and unfolded landscape: https://developer.apple.com/documentation/uikit/uiviewcontroller/preferredverticalbarbehavior
As per the title, we would like to know if if the reverse is possible (i.e. can we have the unfolded portrait display a vertical bar instead of a horizontal one)
Hello @tyouwei,
No, the behavior only works in one way with preferredVerticalBarBehavior (UIKit) and toolbarVerticalBehavior(_:) (SwiftUI): .automatic and .disabled. The reverse is not possible.
If you need side-aligned controls in unfolded portrait, you can lay out your own custom controls along the edge, and please file an enhancement request using Feedback Assistant so the team can consider adding this behavior.
For more info, see preferredVerticalBarBehavior, Designing for iPhone Duo, and Raise the bar with iPhone Duo.
Reply with the FB number when you have finished filing the FB report, I would like to confirm it is seen by the relevant engineering team.
Thank you,
Travis