<!--
{
  "availability" : [
    "iOS: 4.2.0 -",
    "iPadOS: 4.2.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextInputMode/activeInputModes",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITextInputMode(cpy)activeInputModes"
  },
  "title" : "activeInputModes"
}
-->

# activeInputModes

The active text-input modes.

```
class var activeInputModes: [UITextInputMode] { get }
```

## Discussion

Each element in the array is an instance of [`UITextInputMode`](/documentation/UIKit/UITextInputMode). Returns an empty array if no such instances have been set by the text input system.

> Important:
> This API has the potential of being misused to access device signals to try to identify the device or user, also known as fingerprinting. Regardless of whether a user gives your app permission to track, fingerprinting is not allowed. When you use this API in your app or third-party SDK (an SDK not provided by Apple), declare your usage and the reason for using the API in your app or third-party SDK’s `PrivacyInfo.xcprivacy` file. For more information, including the list of valid reasons for using the API, see <doc://com.apple.documentation/documentation/BundleResources/describing-use-of-required-reason-api>.

## See Also

[`currentInputMode`](/documentation/UIKit/UITextInputMode/currentInputMode)

Returns an instance representing the current text-input mode.



---

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)