Reply to Xcode Error: displayModeButtonItem is internally managed and not exposed for DoubleColumn style. Returning an empty, disconnected UIBarButtonItem to fulfill the non-null contract I have exactly the same problem. But your line of code does not seem to do the trick for me... where exactly did you put .navigationViewStyle(StackNavigationViewStyle()) ? UI Frameworks SwiftUI Apr ’21