Skip to content

Commit

Permalink
修改版本号判断
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoMinster committed Sep 5, 2017
1 parent fbe38ff commit 2d270ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BeeHive/BHAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
dispatch_async(dispatch_get_main_queue(), ^{
[[BHModuleManager sharedManager] triggerEvent:BHMSplashEvent];
});
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 100000
if ([UIDevice currentDevice].systemVersion.floatValue >= 10.0f) {
[UNUserNotificationCenter currentNotificationCenter].delegate = self;
}
#endif

#ifdef DEBUG
[[BHTimeProfiler sharedTimeProfiler] saveTimeProfileDataIntoFile:@"BeeHiveTimeProfiler"];
Expand Down

0 comments on commit 2d270ce

Please sign in to comment.