xref: /expo/ios/Exponent/Kernel/Views/Loading/EXManagedAppSplashScreenConfiguration.h (revision 64603ba4)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #import <UIKit/UIKit.h>
2 
3 typedef NS_ENUM(NSInteger, EXSplashScreenImageResizeMode) {
4   EXSplashScreenImageResizeModeContain,
5   EXSplashScreenImageResizeModeCover,
6 };
7 
8 NS_ASSUME_NONNULL_BEGIN
9 
10 @interface EXManagedAppSplashScreenConfiguration : NSObject
11 
12 @property (strong, nonatomic, nonnull, readonly) UIColor *backgroundColor;
13 @property (strong, nonatomic, nullable, readonly) NSString *imageUrl;
14 @property (nonatomic, readonly) EXSplashScreenImageResizeMode imageResizeMode;
15 
16 - (instancetype)init NS_UNAVAILABLE;
17 - (instancetype)initWithBackgroundColor:(UIColor *)backgroundColor
18                                imageUrl:(NSString * _Nullable)imageUrl
19                         imageResizeMode:(EXSplashScreenImageResizeMode)imageResizeMode;
20 
21 @end
22 
23 NS_ASSUME_NONNULL_END
24 

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025