ios 拿到第一响应者的当前视图

2018-05-26  本文已影响0人  竹子4117

UIWindow *keyWindow = [[UIApplication sharedApplication] keyWindow];

UIView *firstResponder = [keyWindow performSelector:@selector(firstResponder)];

上一篇下一篇

猜你喜欢

热点阅读