Commit 39b2e33c authored by Gaëtan Renaudeau's avatar Gaëtan Renaudeau Committed by GitHub

Merge pull request #87 from doubleqliq/master

loadImageWithoutClipping is Depreciated. 
parents b574f4b3 234da238
...@@ -77,9 +77,10 @@ RCT_NOT_IMPLEMENTED(-init) ...@@ -77,9 +77,10 @@ RCT_NOT_IMPLEMENTED(-init)
} }
else { else {
// Load the image (without resizing it) // Load the image (without resizing it)
_loading = [_bridge.imageLoader loadImageWithoutClipping:_source.imageURL.absoluteString _loading = [_bridge.imageLoader loadImageWithURLRequest:_source.imageURL.absoluteString
size:CGSizeZero size:CGSizeZero
scale:0 scale:0
clipped:YES
resizeMode:RCTResizeModeStretch resizeMode:RCTResizeModeStretch
progressBlock:nil progressBlock:nil
completionBlock:^(NSError *error, UIImage *image) { completionBlock:^(NSError *error, UIImage *image) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment