Survey Event Handlers
Covered here is how to set up the event handler that fires before and after every survey is shown for your iOS apps.
You can execute code in a handler that gets called before a survey is shown and after it has been dismissed. You can use this for things like pausing and resuming a game, for example.
Before showing the survey
Surveys.willShowSurveyHandler = {
// Change some state
}LCQSurveys.willShowSurveyHandler = ^{
// Change some state
};After the survey has been dismissed
Surveys.didFinishSurveyHandler = { (state, info, identifier) -> Void in
// Code here
}LCQSurveys.didFinishSurveyHandler = ^(LCQSurveyFinishedState state, NSDictionary * _Nonnull info, NSString * _Nonnull identifier) {
// Code here
};Last updated