diff --git a/Sources/SafariView/DismissButtonStyle.swift b/Sources/SafariView/DismissButtonStyle.swift index a7a5069f5..d71de95d2 100644 --- a/Sources/SafariView/DismissButtonStyle.swift +++ b/Sources/SafariView/DismissButtonStyle.swift @@ -25,6 +25,7 @@ import SafariServices +@available(iOS 14.0, macCatalyst 14.0, *) public extension SafariView { /// An enumeration describing the various dismiss buttons styles available in a ``SafariView`` diff --git a/Sources/WebAuthentication/Modifiers.swift b/Sources/WebAuthentication/Modifiers.swift index 9d9edfcef..1d76e51c9 100644 --- a/Sources/WebAuthentication/Modifiers.swift +++ b/Sources/WebAuthentication/Modifiers.swift @@ -25,6 +25,7 @@ import SwiftUI +@available(iOS 14.0, macCatalyst 14.0, *) public extension View { /// Set the private authentication requirements for authentication sessions within this view. diff --git a/Sources/WebAuthentication/Presentation.swift b/Sources/WebAuthentication/Presentation.swift index 237e23de7..7afe4b0a6 100644 --- a/Sources/WebAuthentication/Presentation.swift +++ b/Sources/WebAuthentication/Presentation.swift @@ -25,6 +25,7 @@ import SwiftUI +@available(iOS 14.0, macCatalyst 14.0, *) public extension View { /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`. diff --git a/Sources/WebAuthentication/WebAuthentication.swift b/Sources/WebAuthentication/WebAuthentication.swift index bdc2f7445..c9e4ad767 100644 --- a/Sources/WebAuthentication/WebAuthentication.swift +++ b/Sources/WebAuthentication/WebAuthentication.swift @@ -27,6 +27,7 @@ import AuthenticationServices import SwiftUI /// A wrapper for `ASWebAuthenticationSession` in SwiftUI +@available(iOS 14.0, macCatalyst 14.0, *) public struct WebAuthentication { // MARK: - Initializers