So I have called:
self.pushRegistry.desiredPushTypes = [NSSet setWithObject:PKPushTypeVoIP];
And it works on ios 9, 10.0.2 and 10.3. didUpdatePushCredentials is called and everything is ok. However for ios 10.2 it is never called and whole voip functionality doesn't work. Could you please advise what is wrong with it?
PS: Voice over IP and Remote notifications capabilities are set.
Refer ObjectiveC code for pushkit integration
AppDelegate.h
AppDelegate.m
Code for ObjectiveC
Reference