Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Strange behaviour on Split View in Swift UI (Stack post)
Post Flair (click to view more posts with a particular flair)
Post Body

I created this stack question: (https://stackoverflow.com/questions/67400875/ipados-swiftui-sidebar-3-column-missing-sidebar-button-with-3-views-in-navi)

Can anyone give any assistance? I'm new to SwiftUI so I'm not sure if this is a legitimate bug - that I need to file a radar about, or if it's user error, or something that's unsupported right now.

EDIT: Here's the content of the stack post:

Here's the code for 3 columns:

struct MainNavigationView: View
{
    @State var screen: Screen? = .home

    var body: some View
    {
        NavigationView
        {
            List(0..<10)
            { i in
                Text("Row \(i)")

            }
            .listStyle(SidebarListStyle())


            Text("Second")
            Text("Third")
        }
        .navigationViewStyle(DoubleColumnNavigationViewStyle())
    }
}

However, when I launch this on iPad (14.5), then I see two columns ("Second" and "Third") with a back button on the 2nd column, when I touch that I get the "List" Column showing but NO Sidebar control.

https://preview.redd.it/youxkqfvvgx61.jpg?width=2048&format=pjpg&auto=webp&s=8a5c8df6bd8df2133916c414a8921cdd8804ff8e

However, if I comment out

Text("Third")

in the

NavigationView

then I see Columns 1 and 2 and I DO see the sidebar control.

https://preview.redd.it/it9v0f0yvgx61.jpg?width=2048&format=pjpg&auto=webp&s=912d7bb4f66f07e2f48922e3953b1bc5f19e6a9f

How can I get all 3 columns showing WITH the sidebar control?

Author
Account Strength
90%
Account Age
5 years
Verified Email
Yes
Verified Flair
No
Total Karma
3,382
Link Karma
752
Comment Karma
2,567
Profile updated: 4 days ago
Posts updated: 1 year ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago