MHNotificationHelper 0.9.2

MHNotificationHelper 0.9.2

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布最后发布2014年12月

mariohahn维护。



  • Mario Hahn

alt tag

Podfile

platform :ios, '6.0'
pod 'MHNotificationHelper'

使用方法

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];