Post

For everyone currently using NavigationSplitView to optimize for iPhone Duo, you shouldn’t sleep on preferredCompactColumn. It controls how the view collapses into a single stack. Learn more about it here: exploreswiftui.com/library/navi... #iOSDev #SwiftUI

exploreswiftui.comPreferred Top Column | Explore SwiftUIControls which column appears on top of the stack when NavigationSplitView collapses into a single stack in certain contexts, such as on iPhone, when iPhone Duo is closed, or on Apple Watch. By defaul...

0 reposts3 likes

On iPhone Duo, the NavigationSplitView compact stack doesn’t reset after opening and closing the device. I don’t know whether this is intentional, which is why I filed FB25093711