3 Replies
      Latest reply on Aug 28, 2019 3:23 PM by Zak MacKracken
      ranjeet_Ola Level 1 Level 1 (0 points)

        Hi,

         

        My requrement is to set background view as image to the List view in SwiftUI.

        Could any one help me achive it?

         

        Regards,

        Ranjeet

         

        struct TableView_SwiftUI: View {
            
            var body: some View {
                List(1...5) { row in
                    Text("Row Index \(row)")
                }.background(Image("bg"))
            }
        }