获取屏幕上当前相应者
程序员文章站
2024-01-29 10:21:22
...
UIWindow *keyWindow = [[UIApplicationsharedApplication] keyWindow];
UITextField *firstResponder = [keyWindow performSelector:@selector(firstResponder)];
短小精湛但是常用
上一篇: matlab