<!--
{
  "documentType" : "article",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/input-strings-for-special-keys",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Input strings for special keys"
}
-->

# Input strings for special keys

Constants that represent the text input strings that correspond to special nonvisible keys.

## Topics

### Control keys

[`inputEscape`](/documentation/UIKit/UIKeyCommand/inputEscape)

A string that represents the Escape key.

[`inputDelete`](/documentation/UIKit/UIKeyCommand/inputDelete)

A string that represents the Delete key.

### Function keys

[`f1`](/documentation/UIKit/UIKeyCommand/f1)

A string representing the F1 key.

[`f2`](/documentation/UIKit/UIKeyCommand/f2)

A string representing the F2 key.

[`f3`](/documentation/UIKit/UIKeyCommand/f3)

A string representing the F3 key.

[`f4`](/documentation/UIKit/UIKeyCommand/f4)

A string representing the F4 key.

[`f5`](/documentation/UIKit/UIKeyCommand/f5)

A string representing the F5 key.

[`f6`](/documentation/UIKit/UIKeyCommand/f6)

A string representing the F6 key.

[`f7`](/documentation/UIKit/UIKeyCommand/f7)

A string representing the F7 key.

[`f8`](/documentation/UIKit/UIKeyCommand/f8)

A string representing the F8 key.

[`f9`](/documentation/UIKit/UIKeyCommand/f9)

A string representing the F9 key.

[`f10`](/documentation/UIKit/UIKeyCommand/f10)

A string representing the F10 key.

[`f11`](/documentation/UIKit/UIKeyCommand/f11)

A string representing the F11 key.

[`f12`](/documentation/UIKit/UIKeyCommand/f12)

A string representing the F12 key.

### Navigation keys

[`inputUpArrow`](/documentation/UIKit/UIKeyCommand/inputUpArrow)

A string representing the Up Arrow key.

[`inputDownArrow`](/documentation/UIKit/UIKeyCommand/inputDownArrow)

A string representing the Down Arrow key.

[`inputLeftArrow`](/documentation/UIKit/UIKeyCommand/inputLeftArrow)

A string representing the Left Arrow key.

[`inputRightArrow`](/documentation/UIKit/UIKeyCommand/inputRightArrow)

A string representing the Right Arrow key.

[`inputHome`](/documentation/UIKit/UIKeyCommand/inputHome)

A string representing the Home key.

[`inputEnd`](/documentation/UIKit/UIKeyCommand/inputEnd)

A string representing the End key.

[`inputPageUp`](/documentation/UIKit/UIKeyCommand/inputPageUp)

A string representing the Page Up key.

[`inputPageDown`](/documentation/UIKit/UIKeyCommand/inputPageDown)

A string representing the Page Down key.



---

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)