---
title: callAsFunction()
framework: swiftui
role: symbol
role_heading: Instance Method
path: swiftui/renameaction/callasfunction()
---

# callAsFunction()

Triggers the standard rename action provided through the environment.

## Declaration

```swift
func callAsFunction()
```
