---
title: current()
framework: uikit
role: symbol
role_heading: Type Method
path: uikit/uitextinputcontext/current()
---

# current()

Returns the shared text-input context object.

## Declaration

```swift
class func current() -> UITextInputContext!
```

## Return Value

Return Value The shared text input context object.
