mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
26 lines
899 B
Mathematica
26 lines
899 B
Mathematica
|
#include "AppDelegate.h"
|
||
|
#include "GeneratedPluginRegistrant.h"
|
||
|
|
||
|
@implementation AppDelegate
|
||
|
|
||
|
- (BOOL)application:(UIApplication *)application
|
||
|
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
||
|
[GeneratedPluginRegistrant registerWithRegistry:self];
|
||
|
// Override point for customization after application launch.
|
||
|
return [super application:application didFinishLaunchingWithOptions:launchOptions];
|
||
|
}
|
||
|
|
||
|
- (void)applicationDidEnterBackground:(UIApplication *)application
|
||
|
{
|
||
|
UIViewController *blankViewController = [UIViewController new];
|
||
|
blankViewController.view.backgroundColor = [UIColor blackColor];
|
||
|
[self.window.rootViewController presentViewController:blankViewController animated:NO completion:NULL];
|
||
|
}
|
||
|
|
||
|
- (void)applicationWillEnterForeground:(UIApplication *)application
|
||
|
{
|
||
|
[self.window.rootViewController dismissViewControllerAnimated:NO completion:NO];
|
||
|
}
|
||
|
|
||
|
@end
|