InstaZoom 0.0.2× 测试已测试✗ 语言语言 SwiftSwift许可证 MIT 发布上次发布2017年1月 SwiftSwift 版本3.0 SPM支持 SPM✓由 Paul-Emmanuel Garcia 维护。安装指南×InstaZoom 的安装指南您需要在 Podfile 中添加以下代码,类似于以下示例target 'MyApp' do pod 'InstaZoom', '~> 0.0' end然后在终端中运行 pod install,或从 CocoaPods.app 运行。或者为了测试,运行以下命令pod try InstaZoom查看 PodspecGitHub 仓库CocoaPods.org 上的页面InstaZoom 0.0.2作者Paul-Emmanuel Garciapemgarciapaulemmanuel-garcia/InstaZoomGitHub 仓库 InstaZoom 轻松地复制 Instagram 缩放功能到 UIImageView。 使用方法 演示 导入 /// Swift import InstaZoom 用例 激活缩放 let imageView = UIImageView(image: yourImage) imageView.isPinchable = true // Quite simple 禁用缩放 imageView.isPinchable = false