Apptentive iOS SDK
The Apptentive iOS SDK provides a simple and powerful channel to communicate in-app with your customers.
Use Apptentive features to improve your app's App Store ratings, collect and respond to customer feedback, show surveys at specific points within your app, and more.
Apptentive can be installed manually as an Xcode subproject or via the dependency manager CocoaPods.
The following guides explain the integration process:
- Xcode project setup guide
As of version 3.3.1, we also support Carthage.
Using Apptentive in your App
After integrating the Apptentive SDK into your project, you can begin using Apptentive features in your app.
You should begin by setting your app's API key, then engaging Apptentive events at various places in your app:
#import "Apptentive.h" ... Apptentive.shared.APIKey = @"<Your API Key>"; ... [Apptentive.shared engage:@"event_name" fromViewController:viewController];
Or, in Swift:
import Apptentive ... Apptentive.shared.APIKey = "<Your API Key>" ... Apptentive.shared.engage(event: "event_name", from: viewController)
Later, on your Apptentive dashboard, you will target these events with Apptentive features such as Message Center, Ratings Prompts, and Surveys.
Please see our iOS integration guide for more on this subject.
Please see our docs site for the Apptentive iOS SDK's API documentation.
Apptentive's API changelog is also updated with each release of the SDK.
Testing Apptentive Features
Please see the Apptentive testing guide for directions on how to test that the Rating Prompt, Surveys, and other Apptentive features have been configured correctly.
Apptentive Example App
To see an example of how the Apptentive iOS SDK can be integrated with your app, take a look at the
iOSExample app in the
Example directory in this repository.
The example app shows you how to integrate using CocoaPods, set your API key, engage events, and integrate with Message Center. See the
README.md file in the
Example directory for more information.
If you experience an issue with the Apptentive SDK, please open a GitHub issue.
If the request is urgent, please contact firstname.lastname@example.org.