Present buttons in notifications, reopen last document when none was open and user clicks on notification.

This commit is contained in:
Michael Starke
2018-09-27 13:49:24 +02:00
parent 1bed34d23f
commit 64d03ce56c
8 changed files with 67 additions and 62 deletions

View File

@@ -22,8 +22,9 @@
#import <Foundation/Foundation.h>
FOUNDATION_EXTERN NSString *const kMPUserNotificationInfoKeyNotificationType;
FOUNDATION_EXTERN NSString *const kMPUserNotificationTypeAutotype;
FOUNDATION_EXTERN NSString *const MPUserNotificationTypeKey;
FOUNDATION_EXTERN NSString *const MPUserNotificationTypeAutotypeFeedback;
FOUNDATION_EXTERN NSString *const MPUserNotificationTypeAutotypeOpenDocumentRequest;
@interface MPUserNotificationCenterDelegate : NSObject <NSUserNotificationCenterDelegate>