SDK for iOS

You’ll need to install Interakt’s latest SDK for it to run smoothly on your desired iOS application. Prerequisites

  1. An Interakt account. You can get started for free!
  2. An app/website that you are managing.
  3. A few minutes to get you started.

Installation

Step 1

Download Interakt’s latest iOS SDK here and unzip it.

Step 2

Drag Interakt framework into your project’s Embedded Binaries section in the project editor in order to add it to your project’s linked libraries. Interakt framework is found in interakt-ios/classes/Frameworks.

Sdk1

Step 3

In the Build Phases tab of the project editor, click the “+” button at the top. Select New Run Script Phase and enter the following code into the script text field:

bash"${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Interakt.framework/strip-frameworks.sh"

Step 4

Now, enter #import <Interakt/Interakt.h> in AppDelegate class

Step 5

In AppDelegate class, enter

-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions In AppDelegate class, enter -(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [[InteraktSupport sharedInstance] installForApiKey:@"your_project_api_key" appID:@"your_project_appID"]; [[InteraktSupport sharedInstance] setColorConfigurationWithBarBackgroundColor:[UIColor blueColor] titleColor:[UIColor whiteColor] tintColor:[UIColor whiteColor] sendQueryButtonTitleColor:[UIColor whiteColor] andSendQueryButtonBackgroundColor:[UIColor colorWithRed:63/255.0 green:145/255.0 blue:203/255.0 alpha:1.0]]; return YES; } Sdk2

Two ways to implement.

  1. If you are using navigation bar embedded in Navigation Controller, the navigation bar of the framework will be same as the app theme.
  2. If you are not using the navigation bar embedded in Navigation Controller, set color configuration in app delegate method didFinishLaunchingWithOptions:
    1. Button on which you want to show ‘Helpdesk’ add the code:
    2. [[InteraktSupport sharedInstance] showHelpdesk:self];
    3. Similarly, If you want to show ‘FAQ’ on the button add the code:
    4. [[InteraktSupport sharedInstance] showFaq:self];
  3. FAQ

    What operating systems are supported?

    We support iOS at this moment.

    What are the apps supported in the iOS SDK?

    Currently, Helpdesk and FAQ are available with the iOS. We are planning to support more in the future.

Feel free to connect in case of issues at support@interakt.co

⇪ To Contents