---
title: "systemAction(_:)"
framework: swiftui
role: symbol
role_heading: Type Method
path: "swiftui/openurlaction/result/systemaction(_:)"
---

# systemAction(_:)

The handler asks the system to open the modified URL.

## Declaration

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

## Parameters

- `url`: The URL that the handler asks the system to open.

## Discussion

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

## See Also

### Getting the results

- [discarded](swiftui/openurlaction/result/discarded.md)
- [handled](swiftui/openurlaction/result/handled.md)
- [systemAction](swiftui/openurlaction/result/systemaction.md)
