Skip to content

ViewController to show the User how to turn on the Notifications on iOS7 and iOS8

License

Notifications You must be signed in to change notification settings

edison9888/STNotificationHelper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STNotificationHelper

Version License Platform

Forked project from MHNotificationHelper, with support for iOS8 (the instructions are different) and translation to some languages.

Steps with iOS7 Steps with iOS8

Steps with iOS7 (left), and steps with iOS8 (right)

Language support

en, es, de, fr, id, it, pl, pt, ru, sv.

If you want to contribute and translate to another language, make me a pull request or contacte me by Twitter / Email. I will answer asap.

Podfile

platform :ios, '6.0'
pod 'STNotificationHelper'

##Usage

NSString *title = NSLocalizedString(@"Take advantage of MySuperApp", nil);
NSString *descriptionString = NSLocalizedString(@"MySuperApp is better with Push Notifications. We will spam you a lot! :)", nil);

STNotificationHelperObject *notificationObject = [STNotificationHelperObject objectWithTitle:title
                 description:descriptionString
                     appIcon:[UIImage imageNamed:@"appIcon.png"]
                     appName:@"MySuperApp"];

STNotificationHelperViewController *notificationHelper = [STNotificationHelperViewController.alloc initWithNotification:notificationObject];

[self presentViewController:notificationHelper animated:YES completion:nil];

Authors

License

STNotificationHelper is available under the MIT license. See the LICENSE file for more info.

Donating

Support this project via gittip.

Support via Gratipay

About

ViewController to show the User how to turn on the Notifications on iOS7 and iOS8

Resources

License

Stars

Watchers

Forks

Packages

No packages published