Answers for "swiftui check available ios"

0

swiftui check available ios

var body: some View {
    Group {
        if #available(iOS 15.0, *) {
            ScrollView {
                content
            }
        } else {
            List {
                content
            }
        }
    }
}
Posted by: Guest on April-22-2022

Code answers related to "Swift"

Browse Popular Code Answers by Language