user198725878
user198725878

Reputation: 6386

UIKeyboard - turn off caps lock key

In my iPhone application, I want to turn off the caps lock key when my uikeyboard is shown.

Is it possible to do so?

Upvotes: 1

Views: 1483

Answers (1)

Matt Wilding
Matt Wilding

Reputation: 20163

Any UI control that conforms to the UITextInputTraitsProtocol has a property called autocapitalizationType. Setting this to autocapitalizationTypeNone, either in code or via Interface Builder, will prevent the caps lock key being active when the keyboard for that element is shown.

Upvotes: 3

Related Questions