What is the recommended way to handle state restauration in a iMessage app?
I noticed that MSMessagesAppViewController conforms to UIStateRestoring. So I tried implementing encodeRestorableState and decodeRestorableState. However, they are never called.
In the documentation was mentioned that I have to return true from application:shouldRestoreApplicationState:
Since I can't access UIApplication in my iMessage app, I don't know how to tell the system I wanna participate in state restoration.
What do I need to implement to get this running?