Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [PubNub subscribeOnChannel:[PNChannel channelWithName:@"my_channel" shouldObservePresence:YES]];
- [[PNObservationCenter defaultCenter] addMessageReceiveObserver:self withBlock:^(PNMessage *message) {
- //identification code here
- }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement