callAsFunction
TypeScriptcallAsFunction(updateDescription: string): Promise<void>Swift declarationfunc callAsFunction(updateDescription: String) async throwsPresents 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.