fix gif animation in Feeds

This commit is contained in:
nixzhu
2015-12-12 16:40:04 +08:00
parent cbb0f58ab3
commit d1ff6acbec
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ def pods
pod 'pop'
pod 'MZFayeClient', :path => '../CatchLib-iOS/MZFayeClient/'
pod 'RealmSwift'
pod 'MonkeyKing', '~> 0.0.2'
pod 'MonkeyKing', '0.0.2'
pod 'JPush-iOS-SDK'
pod 'Fabric'
pod 'Crashlytics'
+1 -1
View File
@@ -42,7 +42,7 @@ DEPENDENCIES:
- JPush-iOS-SDK
- KeyboardMan
- Kingfisher
- MonkeyKing (~> 0.0.2)
- MonkeyKing (= 0.0.2)
- MZFayeClient (from `../CatchLib-iOS/MZFayeClient/`)
- Navi
- pop
@@ -352,7 +352,10 @@ class FeedSocialWorkCell: FeedBasicCell {
}
if let URL = socialWorkImageURL {
socialWorkImageView.kf_setImageWithURL(URL, placeholderImage: nil, optionsInfo: MediaOptionsInfos)
// nix PR https://github.com/onevcat/Kingfisher/pull/171
// MediaOptionsInfos decode Kingfisher GIF images
socialWorkImageView.kf_setImageWithURL(URL, placeholderImage: nil)
//socialWorkImageView.kf_setImageWithURL(URL, placeholderImage: nil, optionsInfo: MediaOptionsInfos)
}
}