I am calling [[UIApplication sharedApplication] enabledRemoteNotifications] which returns a bitmask. How do I NSLog the bitmask to understand how the bitmask is composed and which notifications are on/off?
I am calling [[UIApplication sharedApplication] enabledRemoteNotifications] which returns a bitmask. How do I NSLog
Share
You need to print it as binary value so you get a one or zero for each bit. Here is a question that answers how to log a binary value:
NSInteger to binary (string) value in 8bit format