|
JubeatPlus 3.9.11
|
Presents the notification page and records that it has been seen. More...
#include <NotificationPageNavController.h>


Instance Methods | |
| (instancetype) | - init: |
| Builds the controller around a notification page. | |
| (void) | - pushClose: |
| Dismisses the page, marks the notification as read, and tells the delegate. | |
Presents the notification page and records that it has been seen.
| - (instancetype) init: | (nullable id) | arg |
Builds the controller around a notification page.
Two iOS 7 properties are set through -performSelector:withObject: behind -respondsToSelector: guards, which is how the class stays buildable against an older SDK. One of the two passes an object where a BOOL is wanted — see TYPES_PENDING.md.
| arg | The page to present, and the object kept as the weak delegate. |
| - (void) pushClose: | (id) | sender |
Dismisses the page, marks the notification as read, and tells the delegate.
The read mark is the app delegate's own notification time written straight into user defaults; the pending page is then cleared by handing the delegate two nils.
| sender | The control that closed the page. Unused. |