Skip to content
0:00 / 0:00

#localnotifications#usernotificationsframework

How To Create Local Notifications in Swift 4

Devesh Laungani

127 subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Devesh Laungani
  • Linked in the descriptiond7laungani/DLLocalNotifications
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Beginner. No background in the topic needed.

4.7K views7 years ago1 recommendation

Mobile developmentiOS and SwiftUISwift

Devesh Laungani shows how to request permissions and schedule local notifications in iOS using the User Notifications framework.

In this video, I am going to show you how to create a local notification in Swift 4 using the User Notifications Framework. Specifically we are going to go over : 1. Getting permission to display local/push notifications to a user 2. An explanation of the basic anatomy of a local notification 3. Create a local notification at a specific date or time 4. How to display notifications on both the foreground and background Completed Code Reference: Insert Github Link here Local notifications are super easy to make and customize because of the User Notifications Framework and it is extendable to different ways you can trigger a notification. I will be covering notifications in depth in my future videos. If you don't want to manually setup a local notification or just want helper functions for Location based notifications or repeating notifications then you can checkout a library I made that makes it so much easier. DLLocalNotifications - github.com/d7laungani/DLLocalNotifications Social Links: Twitter - @d7laungani - twitter.com/d7laungani Website- deveshlaungani.com

Why it's here

1 person recommends this

u/d7launganiin r/swift • Recommends

Tutorial - Basic runover on how to create local notifications