HomeiOS Developmentios - Learn how to repair a listing

ios – Learn how to repair a listing


I’m making an app with Swift and I’ve a query about lists.

// Show the listing of the wrong phrases
                Record {
                    ForEach(arrayToPass, id: .self) { index in
                        Textual content("・ (displayeWord[index].phrase)  : (displayeWord[index].meaning1) ")
                            .foregroundStyle(.black)
                            .font(.title2)
                            .padding(10)
                            .daring()
                            .listRowBackground(Colour.white)
                    }
                }
                .body(width: 390, peak: 400)
                .scrollContentBackground(.hidden)

As proven within the pic connected down under, the listing will be scrolled and dragged down, which makes some area above the listing. I wish to repair the highest of the listing though the listing is scrollable.

That may be appreciated when you might assist me out. Thanks.

The list pic

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments