'What is the logic of autocapitalizationType and the corresponding global setting in iOS?

In the lastest iOS 15 if found the following to be the case regarding the combination of the global autocapitalization setting in the iOS Settings app and the autocapitalizationType property:

Global setting in iOS Settings app autocapitalizationType property Result: Sentences are capitalized
on UITextAutocapitalizationTypeSentences yes
on not set no
off UITextAutocapitalizationTypeSentences no
off not set no

What is the logic behind this?

On a side note, I also believe that in the second row of the above table, we had a 'yes' in earlier versions of iOS.

ios


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source