Skip to content

Commit 8510fcc

Browse files
fix mistake (Fit to Fill)
1 parent 47eacbe commit 8510fcc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ios/RCTSplashScreen/RCTSplashScreen/RCTSplashScreen.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ + (void)open:(RCTRootView *)v withImageNamed:(NSString *)imageName {
2323
UIImageView *view = [[UIImageView alloc]initWithFrame:[UIScreen mainScreen].bounds];
2424

2525
view.image = [UIImage imageNamed:imageName];
26-
view.contentMode = UIViewContentModeScaleAspectFit;
26+
view.contentMode = UIViewContentModeScaleAspectFill;
2727

2828
[[NSNotificationCenter defaultCenter] removeObserver:rootView name:RCTContentDidAppearNotification object:rootView];
2929

0 commit comments

Comments
 (0)