i was registered for apns service. i am getting device token, i want to send it to my server.if already this this device id exists in my server i don't want to send it again.
- (void)application:(UIApplication*)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData*)deviceToken
{
NSLog(@"My token is: %@", deviceToken);//so from here i want to send my token to server using service.if got same device token when user runs app in the same phone i will
get device id,i want to send it only at first time if it is same phone
}
how to proceed thank you