Skip to content

Weberlolz/WZPushNotificationRequest

Repository files navigation

WZPushNotificationRequest

CI Status Version License Platform

Features

  • Implement code for requesting APNS(push notification) easily.

Requirements

  • iOS 7.0 or later

Installation

WZPushNotificationRequest is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "WZPushNotificationRequest"

How To Use

Import header

#import <WZPushNotificationRequest/WZPushNotificationRequest.h>"

After import, call

[WZPushNotificationRequest requestPermission];

This will request permission for receiving push notification.

Call back

In your AppDelegate.m

If success:

- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken

If error:

- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error

Author

Weber, weberlolz.1111@gmail.com

License

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

About

An easy way to implement code for requesting APNS(push notification).

Resources

License

Stars

Watchers

Forks

Packages

No packages published