IOS Survey SDK
Qwary iOS SDK enables you to collect feedback from your mobile app. Embed the surveys in your iOS application seamlessly with few lines of code.
Last updated
Qwary iOS SDK enables you to collect feedback from your mobile app. Embed the surveys in your iOS application seamlessly with few lines of code.
Last updated
Full screen feedback
Embedded-screen feedback
Scheduled Surveys one-time or recurring feedbacks.
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
To integrate QWarySurveySDK into your Xcode project using CocoaPods, specify it in your Podfile
:
Then, run the following command:
Take feedback using our pre-build QWSurveyViewController
and get the response after submission by implementing the QWSurveyDelegate
protocol.
Import framework
Create a QWSurveyViewController
Create a QWSurveyViewController
with QWSurveyRequest
and QWSurveyDelegate
Embed the feedback experience using the QWSurveyView
.
Add QWSurveyView
Add a UIView
to storyboard and change the Class to QWSurveyView
under Identity Inspector and also make sure that the Module is QWarySurveySDK
.
Now connect the QWSurveyView
as an IBOutlet
Then call loadSurvey(request: QWSurveyRequest, delegate: QWSurveyDelegate?)
on the qwSurveyView
to load the survey
Handle response
Implement QWSurveyDelegate
protocol to handle responses.
Ask the user to take a feedback survey when they open your app or a screen after specified time. Local notifications are also scheduled for next prompt date/time if the survey has repeatSurvey:true
in QWScheduleConfigurations
.
Override viewDidAppear method and create a QWSurvey
object with QWSurveyRequest
, QWSurveyDelegate
and QWScheduleConfigurations
. Then call scheduleSurvey
method on the QWSurvey
object by passing the parent ViewController
reference to schedule the survey.
Schedule Configurations
startDate: String
Survey is allowed to be shown to user at this date.
repeatSurvey: Bool
After survey completion, if user should be asked for same survey again. If this property is set true
then make sure you set a value of repeatInterval
as well.
repeatInterval: TimeInterval
Time interval for survey to be shown to user after last attempt. This property should always have a value when repeatSurvey
is set true
Handle response
Implement QWSurveyDelegate
protocol to handle responses.
QWarySurveySDK is licensed under the Apache License 2.0.
For more details visit http://www.apache.org/licenses/LICENSE-2.0