Skip to content

mariohahn/MHNotificationHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MHNotificationHelper

alt tag

Podfile

platform :ios, '6.0'
pod 'MHNotificationHelper'

##Usage

NSString *title = @"Benachrichtungen aktivieren";
NSString *descriptionString = @"Um die Notificationen verwenden zu können müssen sie die Banachrichtungen aktivieren.";
    
MHNotificationHelperObject *notificationObject = [MHNotificationHelperObject objectWithTitle:title
                                                                                 description:descriptionString
                                                                                     appIcon:nil
                                                                                     appName:@"meine App"];
    
MHNotificationHelperViewController *notificationHelper = [MHNotificationHelperViewController.alloc initWithNotification:notificationObject];
notificationHelper.bannerLabel.text = NSLocalizedString(@"Banner", nil);
    
[self presentViewController:notificationHelper animated:YES completion:nil];

About

ViewController to describe the User how to turn on the Notifications

Resources

License

Stars

Watchers

Forks

Packages

No packages published