Asking for Feedback
Present a Survey
Copy and paste the following line code into your app to present a survey. Replace the value of context with any instance of UIViewController. Replace the values of gateway, parameters, and region with those provided by your company’s CX administrator or your InMoment technical success manager.
import InMoment
FeedbackManager.shared.presentSurveyModally(context: self,
gateway: "MyGateway",
parameters: ["Key":"Value"],
region: .us)
Important
By default, surveys target InMoment’s United States datacenter region. To target a specific datacenter region,
pass a value for region when calling this method.
Remark
In most cases, we recommend using FeedbackManager.shared. However, you may want to create a new instance of FeedbackManager if you need to use a different FeedbackManagerDelegate in other places of your app.
See also
FeedbackManager.presentSurveyModally(context:gateway:parameters:region:)
Asking for Feedback Reference