Latest 1.0.0
Homepage https://github.com/Weberlolz/WZPushNotificationRequest
License MIT
Platforms ios 7.0
Authors

CI Status
Version
License
Platform

Features

  • [x] 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, [email protected]

License

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

Latest podspec

{
    "name": "WZPushNotificationRequest",
    "version": "1.0.0",
    "summary": "An easy way to implement code for requesting APNS(push notification).",
    "description": "An easy way to implement code for requesting APNS(push notification).nnJust import header, then call function. nYou'll get call back in your AppDelegate.m",
    "homepage": "https://github.com/Weberlolz/WZPushNotificationRequest",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Weberlolz": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Weberlolz/WZPushNotificationRequest.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "WZPushNotificationRequest/Classes/**/*"
}

Pin It on Pinterest

Share This