Skip to content

Commit

Permalink
feat: Add cookie support for iOS. (DylanVann#284)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This changes how network requests are handled on iOS. Make sure they still work for you.
  • Loading branch information
fzyzcjy authored and DylanVann committed Oct 20, 2019
1 parent aa29ec8 commit ae47bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/FastImage/FFFastImageView.m
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ - (void)reloadImage
}];

// Set priority.
SDWebImageOptions options = SDWebImageRetryFailed;
SDWebImageOptions options = SDWebImageRetryFailed | SDWebImageHandleCookies;
switch (_source.priority) {
case FFFPriorityLow:
options |= SDWebImageLowPriority;
Expand Down

0 comments on commit ae47bff

Please sign in to comment.