System scheduling for an alarm app
You're designing an iPhone alarm app. When you have to guarantee the user is alerted at a set time, which system API do you use instead of an in-app Timer?
You're designing an iPhone alarm app. When you have to guarantee the user is alerted at a set time, which system API do you use instead of an in-app Timer?
So the system fires it even when the app is terminated or suspended in the background, register a local notification request with UNUserNotificationCenter using a UNCalendarNotificationTrigger, and give each alarm a fixed identifier so it can be edited and canceled.
iOS system designShort answerIntro
Several screens in the app (home, profile, settings) need the same "notification center"…
#notifications
iOS system designShort answerAdvanced
Design a wake-up alarm app for iOS that "keeps ringing even after the user turns the…
#alarm
ArchitectureShort answerAdvanced
In an iOS ride service feature with route guidance, fare calculation, and live location…
#ios
Performance and debuggingShort answerBasics
A chat screen built with React Native is slow on iOS. How do you separate whether the…
#ios