Are there any Apptentive callback methods which inform us what is happening?
For example,
[[ATConnect sharedConnection] engage:@"completed_level" fromViewController:viewController];
tells Apptentive an event has occured, and now Apptentive might display an interaction.
After an event is logged, I would like to know whether:
- an interaction will be displayed
- an interaction is displaying
- interaction has been completed
Is there currently a way to do this?
The return value of
engage:fromViewController:indicates whether or not an interaction was shown for the event:You can also use the method
willShowInteractionForEvent:to know if an interaction will be shown the next time you engage an event:Apptentive also posts some notifications that you can listen for and respond to via
NSNotificationCenter:Finally, we are working some new features in this area. I will update this answer when those are available.