I would like to customize the iOS keyboard behavior to adapt to the UITextInput
inside the app that it's showing up.
For example, when someone entering a URL inside Safari, the keyboard's return key should instead say "Go", autocorrect and auto-capitalization should both be spelled.
I looked through UITextInput
protocol reference , but was unable to find any information about detecting the settings. Any help is much appreciated, thanks.
您应该查看UITextInputTraits ,而UITextField支持它。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.