The app automatically assigns the first control in the document outline to the first responder automatically after the app launch (See reset button in the screenshot below).
I did not assign any control to be the first responder in my code. How to disable this behavior using swift?
I have referred and tested some Objective-C methods about resigning first responder but no effect.
Any hint or comment is appreciated and thanks for your time viewing this question.
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.