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