From 7db6ba57b17fb7c0c364219750b14ee3d5cc351b Mon Sep 17 00:00:00 2001 From: 单军华 <WindShan@danjunhuas-MacBook-Pro.local> Date: Fri, 04 May 2018 08:34:16 +0800 Subject: [PATCH] 报警声音和历史数据提交 --- 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