-5

what is the way to create local notification in iOS 10? does it work in older iOS version?

  • Possible duplicate of [swift display local notification even the app terminated](https://stackoverflow.com/questions/50383851/swift-display-local-notification-even-the-app-terminated) –  Jun 02 '18 at 08:45

1 Answers1

0

You need #available(iOS 10.0, *) syntax to separate your logic for iOS 10.0+ or else. I am sure you can find a lot of answers in here.

Local and Push Notifications in IOS version compatible