I need to make this application the same as the Clock Alarm function. As soon as we installed Alarm for some time, for example, 3.15PM (even the application does not work). He shows in
Today's notification screen is 
we can do this (your alarm ......) using the APP extension (using the user default settings), right?
Like a popup screen 
Emergency tooltip on lock screen - 
My question is
a. How can we achieve both 2 and 3, Is this the same APP extension concept?
b. At first, I suppose they used custom defaults. Can we make access to the API in the APP extension, for example periodically check the web service?
Please offer a solution / idea to achieve this.
Thanks!
Gopik source share