Swift Local Notifications 2: Time Interval Notfications
This is the second in a series of videos on scheduling an responding to local notifications in swift
In this video our focus will be on Interval notifications.
We will start by forming a LocalNotification request and then in order to execute the notification, we will need to form a trigger based on that time interval.
Once we have those components in place, we need to schedule it by adding it to the notification queue.
We will also make sure that we see our notifications when the app is in the foreground as well as the when in the background
We will also look at how we can get a list of pending requests and how we cam delete one or more of them.
If you want to support my work, you can buy me a coffee :)
https://ko-fi.com/stewartlynch
Table of Contents:
0:00 Introduction
1:00 LocalNotification Request
7:14 Displaying a notification if app in foreground
8:45 Display a list of all pending requests
13:00 Deleting pending requests
All Videos in this Series
Part 1: Authorization
https://youtu.be/tNaSlfLeCB0
Part 2: Time Interval Notifications
https://youtu.be/m45mnkCUUvI
Part 3: Calendar Notifications
https://youtu.be/7LC951xR-i4
Part 4: Responding to Notifications
https://youtu.be/3il8Ywnk4Dw
Starter Project Files:
https://www.createchsol.com/LocalNotifications/Lesson-1-Complete.zip
Completed Project:
https://www.createchsol.com/LocalNotifications/Lesson-2-Complete.zip
References mentioned in video:
Other References:
Stewart Lynch's YouTube Channel:
https://youtube.com/StewartLynch
Stewart Lynch on Twitter:
https://twitter.com/StewartLynch
Видео Swift Local Notifications 2: Time Interval Notfications канала Stewart Lynch
In this video our focus will be on Interval notifications.
We will start by forming a LocalNotification request and then in order to execute the notification, we will need to form a trigger based on that time interval.
Once we have those components in place, we need to schedule it by adding it to the notification queue.
We will also make sure that we see our notifications when the app is in the foreground as well as the when in the background
We will also look at how we can get a list of pending requests and how we cam delete one or more of them.
If you want to support my work, you can buy me a coffee :)
https://ko-fi.com/stewartlynch
Table of Contents:
0:00 Introduction
1:00 LocalNotification Request
7:14 Displaying a notification if app in foreground
8:45 Display a list of all pending requests
13:00 Deleting pending requests
All Videos in this Series
Part 1: Authorization
https://youtu.be/tNaSlfLeCB0
Part 2: Time Interval Notifications
https://youtu.be/m45mnkCUUvI
Part 3: Calendar Notifications
https://youtu.be/7LC951xR-i4
Part 4: Responding to Notifications
https://youtu.be/3il8Ywnk4Dw
Starter Project Files:
https://www.createchsol.com/LocalNotifications/Lesson-1-Complete.zip
Completed Project:
https://www.createchsol.com/LocalNotifications/Lesson-2-Complete.zip
References mentioned in video:
Other References:
Stewart Lynch's YouTube Channel:
https://youtube.com/StewartLynch
Stewart Lynch on Twitter:
https://twitter.com/StewartLynch
Видео Swift Local Notifications 2: Time Interval Notfications канала Stewart Lynch
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Swift Data One to Many RelationshipsSwiftData Dynamic Sorts and FiltersSwiftData Containers and Preview DataSwiftData CRUD OperationsNew and Deprecated APIs in iOS 17Phase Animations in iOS 17Scrolling Charts in iOS 17Xcode Structured LoggingInout Parameters and Mutating FunctionsThe Year in Review and Looking forward to WWDC 23SwiftUI GeometryReaderSwiftUI PreferenceKeysUnderstanding Swift KeyPathsUnderstanding Swift Trailing Closure SyntaxMastering Xcode 14 SwiftUI PreviewsCoding Workshop 8 - Location Finder App Part 1 - Exploring the APICoding Workshop 2 - How Much App Part 1 - Building the UICoding Workshop 4 - How Much App Part 3 - Creating the Totals ViewCoding Workshop 1 - IntroductionLottie 4 SwiftUINumeric TextFields in SwiftUI