Thanks for your information.
I've changed the project to use the textFieldDidChangeSelection: method instead of the shouldChangeCharactersInRanges method.
For your reference.
Topic:
UI Frameworks
SubTopic:
UIKit