I tried to implement Push Notification
like described here http://api.shephertz.com/tutorial/Push-Notification-iOS/?index=pn-ios
But have an error The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
on this part
-
PushNotification *pushNotification=[pushObj registerDeviceToken:deviceToken
-
withUser:@"User Name"];
Reason : The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
What is wrong?