KMKeyboardObserver 1.7×由 Keith Moon 维护。安装指南×KMKeyboardObserver 安装指南您需要在 Podfile 中添加类似以下的内容 pod 'KMKeyboardObserver', '~> 1.7'target 'MyApp' do pod 'KMKeyboardObserver', '~> 1.7' end然后在终端中运行 pod install,或从 CocoaPods.app 运行。或者,为了测试运行,运行以下命令:pod try KMKeyboardObserver查看 PodspecGitHub 仓库CocoaPods.org 上的页面KMKeyboardObserver 1.7由Keith Moonkeefmoonkeefmoon/KMKeyboardObserverGitHub 仓库KMKeyboardObserver 一个简单的类,用于观察键盘帧变化并向代理报告