iMessage updates the rich push when it's on the screen. You can see what is user is typing RIGHT NOW, and message will be added to your conversation.
So the question is: how i can catch new push notification, when i'm already looking at opened rich push? Is there any event in UNNotificationContentExtension to catch the new one and update view? The only one i know is:
- (void)didReceiveNotification:(UNNotification *)notification
but it is triggered only when you open the push first time
Edit:
Found that in UNNotificationContentExtension protocol:
// This will be called to send the notification to be displayed by
// the extension. If the extension is being displayed and more related
// notifications arrive (eg. more messages for the same conversation)
// the same method will be called for each new notification.
- (void)didReceiveNotification:(UNNotification *)notification;
So it should work but i can't catch this event anyway. Maybe i need somehow to make new notification "related" to currently displayed?