Post

Replies

Boosts

Views

Activity

UITextField Input character problem
First, I set the keyboard to the simplified Chinese Pinyin 10 key. When I click ABC, the proxy method in UITextField will return emoji, why?     public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool { // string is "➋", "➌", "➍", "➎", "➏", "➐", "➑", "➒", "☻"         print(string)         return true     }
1
0
654
Jun ’21