<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/OpenURLAction/Result/systemAction(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI13OpenURLActionV6ResultV12systemActionyAE10Foundation3URLVFZ"
  },
  "title" : "systemAction(_:)"
}
-->

# systemAction(_:)

The handler asks the system to open the modified URL.

```
static func systemAction(_ url: URL) -> OpenURLAction.Result
```

## Parameters

`url`

The URL that the handler asks the system to open.

## Discussion

The action invokes its completion handler with a value that
depends on the outcome of the system’s attempt to open the URL.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)