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 |   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