1 // Copyright © 2018 650 Industries. All rights reserved. 2 3 #import <Foundation/Foundation.h> 4 #import <UIKit/UIKit.h> 5 6 NS_ASSUME_NONNULL_BEGIN 7 8 @interface EXSplashScreenViewController : NSObject 9 10 @property (nonatomic, strong) UIView *splashScreenView; 11 12 - (instancetype)init NS_UNAVAILABLE; 13 14 - (instancetype)initWithRootView:(UIView *)rootView 15 splashScreenView:(UIView *)splashScreenView; 16 17 - (void)showWithCallback:(void (^)(void))successCallback failureCallback:(void (^)(NSString *message))failureCallback; 18 - (void)preventAutoHideWithCallback:(void (^)(BOOL hasEffect))successCallback failureCallback:(void (^)(NSString *message))failureCallback; 19 - (void)hideWithCallback:(void (^)(BOOL hasEffect))successCallback failureCallback:(void (^)(NSString *message))failureCallback; 20 - (BOOL)needsHideOnAppContentDidAppear; 21 - (BOOL)needsShowOnAppContentWillReload; 22 @end 23 24 NS_ASSUME_NONNULL_END 25