GT2/Ejectable/node_modules/expo-splash-screen/ios/EXSplashScreen/EXSplashScreenController.h

24 lines
911 B
Objective-C

// Copyright © 2018 650 Industries. All rights reserved.
#import <Foundation/Foundation.h>
#import <EXSplashScreen/EXSplashScreenViewProvider.h>
NS_ASSUME_NONNULL_BEGIN
@interface EXSplashScreenController : NSObject
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithViewController:(UIViewController *)viewController
splashScreenViewProvider:(id<EXSplashScreenViewProvider>)splashScreenViewProvider;
- (void)showWithCallback:(void (^)(void))successCallback failureCallback:(void (^)(NSString *message))failureCallback;
- (void)preventAutoHideWithCallback:(void (^)(BOOL hasEffect))successCallback failureCallback:(void (^)(NSString *message))failureCallback;
- (void)hideWithCallback:(void (^)(BOOL hasEffect))successCallback failureCallback:(void (^)(NSString *message))failureCallback;
- (void)onAppContentDidAppear;
- (void)onAppContentWillReload;
@end
NS_ASSUME_NONNULL_END