您想在Podfile中添加类似于以下的内容: pod 'UIViewController+BHTKeyboardAnimationBlocks', '~> 0.0'
target 'MyApp' do
pod 'UIViewController+BHTKeyboardAnimationBlocks', '~> 0.0'
end
然后在终端中运行pod install
,或从CocoaPods.app运行。
或者,为了测试运行,运行以下命令
pod try UIViewController+BHTKeyboardAnimationBlocks