需要实现,类似于微信中发送图片后:
图片的显示
点击后,显示大图
且支持通过手势去缩放图片
swift image lib
GitHub – gavinbunney/Toucan: Fabulous Image Processing in Swift
GitHub – zalando/MapleBacon: MapleBacon is a Swift image download and caching library.
GitHub – daltoniam/Skeets: Fetch, cache, and display images via HTTP in Swift.
swift image view lib
GitHub – NYTimes/NYTPhotoViewer: A modern photo viewing experience for iOS.
GitHub – Alamofire/AlamofireImage: AlamofireImage is an image component library for Alamofire
GitHub – seatgeek/SGImageCache: A flexible image caching library for image rich iOS applications
swift 图片显示 库
SwiftGuide/Featured.md at master · ipader/SwiftGuide · GitHub
GitHub – Tim9Liu9/TimLiu-iOS: 自己总结的iOS、mac开源项目及库,持续更新。。。。
GitHub – MakeZL/MLSwiftBasic: UI and animation of the basic framework of swift
看了半天,暂时决定用:
关于下载图片的话,去用:
-》
某人的解释:
有空可以去把
下载图片期间,等待指示器
GitHub – ninjaprox/NVActivityIndicatorView: Collection of nice loading animations
加上看看效果
后来是参考别人代码,自己整理后,可以实现对应的效果了:
转载请注明:在路上 » [已解决]Swift实现图片显示和预览和缩放