Browse Source

Added user interaction to animation

Ivan Bruel 10 years ago
parent
commit
62490b516b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/ImageView+Kingfisher.swift

+ 1 - 1
Sources/ImageView+Kingfisher.swift

@@ -236,7 +236,7 @@ extension ImageView {
                                     },
                                     },
                                     completion: { finished in
                                     completion: { finished in
                                         UIView.transitionWithView(sSelf, duration: transition.duration,
                                         UIView.transitionWithView(sSelf, duration: transition.duration,
-                                            options: transition.animationOptions,
+                                            options: [transition.animationOptions, .AllowUserInteraction],
                                             animations: {
                                             animations: {
                                                 transition.animations?(sSelf, image)
                                                 transition.animations?(sSelf, image)
                                             },
                                             },