* sync initial resizeMode & contentMode (#193)

This commit is contained in:
bluekurk 2018-05-10 10:50:51 +08:00 committed by Dylan Vann
parent b206c50028
commit 6ed1c674c2
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ RCT_EXPORT_MODULE(FastImageView)
- (FFFastImageView*)view {
FFFastImageView* view = [[FFFastImageView alloc] init];
view.contentMode = (UIViewContentMode) RCTResizeModeContain;
view.contentMode = (UIViewContentMode) RCTResizeModeStretch;
view.clipsToBounds = YES;
return view;
}