0

I know I can set UITextField capitalization to sentences to have the first letter type capitalized, but I can I instead have it be based on the users Auto-Capitalization setting in Settings/General/Keyboard?

2 Answers2

0

The user can only enable or disable auto capitalization, and if it's set to no, I guess your autocapitalization property has no effect, I guess.

So basically no, there is no way to map the boolean to the autocapitalization enum.

Christian Schnorr
  • 10,768
  • 8
  • 48
  • 83
0

Apparently this is done by default. If the user has Auto-capitalization in setting's set to the "off" state then your UITextField capitalization state will just be ignored by the device.


Reference: UITextField autocapitalizationType UITextAutocapitalizationTypeAllCharacters not working on device

Community
  • 1
  • 1
Albert Renshaw
  • 17,282
  • 18
  • 107
  • 195