I'm relatively new to ios development, but have quite alot of experience otherwise. So, I apologize if I have the semantics wrong here:
I have an imessage application that deals with a conversation/session and has a time limit on when an activity gets communicated to all users in a group (recipients). The application is about 85% done, and this is the last technical hurdle before getting complete.
I've tried local notifications, timer callbacks, and performExpiringActivity (in sim and devices). All work great if the user stays in the active state. however, if the user goes to another conversation (say with another user, not in the group) or presses home, none of the above
work. I'm assuming this is because the application goes inactive.
What I'd like to do is have some kind of notification/badge, alert or whatever to let the user know they need to go back to the imessage app. Or even better launch the app, and execute the callback.
Thanks in advance,
Roark
Hi Roark,
basically, after you leave conversation (either by going to conversations list or background iMessage) your extension is getting killed so none of scheduled "work" will be fired.
I think you could try use your parent app to inform users about need for iMessage "activity", though it depends what exactly you want to achieve.
basically, after you leave conversation (either by going to conversations list or background iMessage) your extension is getting killed so none of scheduled "work" will be fired.
I think you could try use your parent app to inform users about need for iMessage "activity", though it depends what exactly you want to achieve.