Fixes deprecation warning when building for iOS 10

This commit is contained in:
Simon Fairbairn
2017-03-30 11:17:12 +02:00
committed by GitHub
parent 44d4efd4d5
commit 9cf41812fc
@@ -154,7 +154,7 @@ open class PluggableApplicationDelegate: UIResponder, UIApplicationDelegate {
// This callback will be made upon calling -[UIApplication registerUserNotificationSettings:]. The settings the user has granted to the application will be passed in as the second argument.
@available(iOS 8.0, *)
@available(iOS, introduced: 8.0, deprecated: 10.0, message: "Use UserNotification UNNotification Settings instead")
public func application(_ application: UIApplication, didRegister notificationSettings: UIUserNotificationSettings) {
for service in __services {
service.application?(application, didRegister: notificationSettings)