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

2015-08-17  本文已影响2644人  舒耀

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

上一篇下一篇

猜你喜欢

热点阅读