swiftui check available ios
var body: some View {
Group {
if #available(iOS 15.0, *) {
ScrollView {
content
}
} else {
List {
content
}
}
}
}