diff options
author | Igor Khmurets <subzero@mapswithme.com> | 2014-07-14 01:06:00 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:21:16 +0300 |
commit | 3d62566d1f635161c14ecea931b2bced4194331a (patch) | |
tree | 8a532b4e6d0da2b03af44b9f4ac120caa3955fce /iphone/Maps/Classes/LocalNotificationManager.h | |
parent | b5ffbb929ecc63e703428bc783c9147e9093c84c (diff) |
[ios] Added 'Download Map' notification
Diffstat (limited to 'iphone/Maps/Classes/LocalNotificationManager.h')
-rw-r--r-- | iphone/Maps/Classes/LocalNotificationManager.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/iphone/Maps/Classes/LocalNotificationManager.h b/iphone/Maps/Classes/LocalNotificationManager.h new file mode 100644 index 0000000000..aefffa8322 --- /dev/null +++ b/iphone/Maps/Classes/LocalNotificationManager.h @@ -0,0 +1,12 @@ + +#import <Foundation/Foundation.h> + +@interface LocalNotificationManager : NSObject + ++ (instancetype)sharedManager; + +- (void)showDownloadMapNotificationIfNeeded:(void (^)(UIBackgroundFetchResult))completionHandler; +- (void)showDownloadMapAlertIfNeeded; +- (void)processDownloadMapNotification:(UILocalNotification *)notification; + +@end |