Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
// Getting inbox messages
 
 [[Appoxee shared] refreshInboxWithCompletionHandler:^(NSError *appoxeeError, id data) {
 
    if (!appoxeeError) {
 
        NSArray *messages = (NSArray *)data; // all objects in array are of type APXRichMessage
    }
 }];
 
// Deleting inbox messages

 [[Appoxee shared] deleteRichMessage:richMessage withHandler:^(NSError *appoxeeError, id data) {
 
    if (!appoxeeError) {
 
        // refresh UI
    }
 }];