From ae47bff4de7e532dd817febf3da5a370303538b8 Mon Sep 17 00:00:00 2001 From: fzyzcjy Date: Mon, 21 Oct 2019 03:54:43 +0800 Subject: [PATCH] feat: Add cookie support for iOS. (#284) BREAKING CHANGE: This changes how network requests are handled on iOS. Make sure they still work for you. --- ios/FastImage/FFFastImageView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/FastImage/FFFastImageView.m b/ios/FastImage/FFFastImageView.m index 82188ffa5..5c8732b6e 100644 --- a/ios/FastImage/FFFastImageView.m +++ b/ios/FastImage/FFFastImageView.m @@ -147,7 +147,7 @@ - (void)reloadImage }]; // Set priority. - SDWebImageOptions options = SDWebImageRetryFailed; + SDWebImageOptions options = SDWebImageRetryFailed | SDWebImageHandleCookies; switch (_source.priority) { case FFFPriorityLow: options |= SDWebImageLowPriority;