From 25f409185a53e5e7beb17518a684298d92d31b3f Mon Sep 17 00:00:00 2001 From: 单军华 <WindShan@danjunhuas-MacBook-Pro.local> Date: Fri, 04 May 2018 13:34:53 +0800 Subject: [PATCH] iPhone x 屏幕适配修改 --- pregnancy_guard/BaseProject/AppDelegate.m | 15 +-------------- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/pregnancy_guard/BaseProject/AppDelegate.m b/pregnancy_guard/BaseProject/AppDelegate.m index 1505425..8d3edc3 100644 --- a/pregnancy_guard/BaseProject/AppDelegate.m +++ b/pregnancy_guard/BaseProject/AppDelegate.m @@ -110,22 +110,9 @@ [self.internetReachability startNotifier]; [self updateInterfaceWithReachability:self.internetReachability]; - // Override point for customization after application launch. - UIUserNotificationType types = UIUserNotificationTypeBadge | - UIUserNotificationTypeSound | UIUserNotificationTypeAlert; - UIUserNotificationSettings *mySettings = - [UIUserNotificationSettings settingsForTypes:types categories:nil]; - if(mySettings != nil) - { - [[UIApplication sharedApplication] registerUserNotificationSettings:mySettings]; - } - - //_currentDevice = _selectedDevice.mac; - - - [self showHomePage]; + [self showLoginPage]; //������������:NSException //��������������������������������� -- Gitblit v1.8.0