Update AppDelegate.swift
This commit is contained in:
Родитель
4c18b1452d
Коммит
035a2e6467
|
@ -3,6 +3,7 @@ import UIKit
|
|||
import MobileCenter
|
||||
import MobileCenterAnalytics
|
||||
import MobileCenterCrashes
|
||||
import MobileCenterPush
|
||||
|
||||
@UIApplicationMain
|
||||
class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
|
@ -13,7 +14,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
|||
// Override point for customization after application launch.
|
||||
MSMobileCenter.start("YourAppSecret", withServices:[
|
||||
MSAnalytics.self,
|
||||
MSCrashes.self
|
||||
MSCrashes.self,
|
||||
MSPush.self
|
||||
])
|
||||
return true
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче