LocalNotiDemo This is a Local Notification example using UserNotifications for iOS app in Swift 4.2. This demo shows how Local Notification works. The notification fires after 5 seconds of button click and works in background as well as foreground.