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 |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/pregnancy_guard/BaseProject/AppDelegate.m b/pregnancy_guard/BaseProject/AppDelegate.m
index 41d8870..8d3edc3 100644
--- a/pregnancy_guard/BaseProject/AppDelegate.m
+++ b/pregnancy_guard/BaseProject/AppDelegate.m
@@ -110,21 +110,8 @@
     [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 showLoginPage];
     
     //������������:NSException

--
Gitblit v1.8.0