Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swiftui check available ios

var body: some View {
    if #available(iOS 16.0, *) {
        content
    } else {
        content
    }
}
Source by developer.apple.com #
 
PREVIOUS NEXT
Tagged: #swiftui #check #ios
ADD COMMENT
Topic
Name
8+7 =