HomeiOS Developmentios - Picture inside Checklist takes automated spacing subject Swiftui

ios – Picture inside Checklist takes automated spacing subject Swiftui


I’ve checklist inside that Picture and Part

Checklist {
            
            Picture("iosimg")
                .resizable()
                .body(top: 200)
                .cornerRadius(10)
                .listRowBackground(Shade(.secondarySystemBackground))
            
            Part {
                ScrollView(.horizontal) {
                    HStack {
                        ForEach(catvm.classes, id: .id) { class in
                            
                            Button {
                                print("chosen Class",class.class)
                                viewState = class.class
                            } label: {
                                CategoryView(class: class)
                            }
                        }
                    }
                }
                .listRowBackground(Shade(.secondarySystemBackground))
            }
         }

However after I run this simulator it reveals like

Find out how to stop spacing round First Picture and Part under that ( I would like like pickup location content material

How to prevent spacing around First Image and Section below that ( I want like pickup location content

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments