One Logo Pool Ball
DeclaredAgeRange · IOS API REFERENCE

SignificantUpdateAction

struct · iOS 26.4+ · SDK 27.1

struct SignificantUpdateAction

An action that presents a system interface for significant app update acknowledgments. Use this action to inform people about important changes to your app that require their acknowledgment before proceeding. ```swift struct ContentView: View { @Environment(\.showSignificantUpdateAcknowledgment) var showSignificantUpdate var body: some View { Button("Review Update") { Task { do { try await showSignificantUpdate(updateDescription: "We've updated our privacy policy.") } catch { // Handle error. } } } } } ```

Members (1)

method · iOS 26.4+

callAsFunction

TypeScript
callAsFunction(updateDescription: string): Promise<void>
Swift declaration
func callAsFunction(updateDescription: String) async throws

Presents a system interface to request acknowledgment of significant app changes from people, or their parents or guardians. Call this method when you make significant changes to your app that require acknowledgment before people continue using it. ```swift struct ContentView: View { @Environment(\.showSignificantUpdateAcknowledgment) var showSignificantUpdate var body: some View { Button("Review Update") { Task { do { try await showSignificantUpdate(updateDescription: "We've updated our privacy policy.") } catch { // Handle error. } } } } } ``` - Parameter updateDescription: A clear description of what changed in your app and why acknowledgment is required. - Throws: An error if the feature isn't available.

Skipped declarations

No declarations were skipped in this snapshot.

All DeclaredAgeRange types →