Hi,
I'm using iOS SDK on my iOS app.
i. Is content of Message Center saved locally?
ii. Can I retrieve messages without using the out-of-the-box message center?
iii. I would like to pull the message from Message Center manually and display them on custom UI. Am I doing it wrong?
[[[UAirship inbox] messageList] retrieveMessageListWithSuccessBlock:^{
NSArray *msgs = [[UAirship inbox] messageList].messages;
for(int i=0;i< [msgs count];i++) {
UAInboxMessage *msg = [msgs objectAtIndex:i];
NSLog(@"title: %@", msg.title);
NSLog(@"read?: %@", msg.unread ? @"Yes" : @"No");
NSLog(@"rawMsg:%@", msg.rawMessageObject);
}
} withFailureBlock:^{
}];
Thank you,
Regards,
Felix
Comments
1 comment