UILocalNotification object will not cause a crash on an iOS 10 device (I just tried it with the Xcode 8 beta). Xcode will warn you that
UILocalNotification was deprecated as of iOS 10 and
UNNotificationRequest in the UserNotifications module should be used instead. It is strongly encouraged to migrate your code to use
UNNotificationRequest if you are targeting iOS 10 and above.