Whatfix-iOS
Welcome to the official Whatfix iOS SDK
Installation
CocoaPods
To integrate Whatfix into your Xcode project using CocoaPods, specify it in your Podfile
:
pod 'WhatFix', '~> 0.1.2'
Then, run the following command:
$ pod install
Initializing and Usage
Swift
Import Whatfix into AppDelegate.swift
import Whatfix
Initialize Whatfix within application:didFinishLaunchingWithOptions:
Whatfix.shared.initialize(entId: "<ent_id>", application: application)
Objective-C
Import Whatfix into AppDelegate.h
@import Whatfix;
Initialize Whatfix within application:didFinishLaunchingWithOptions:
[[Whatfix shared] initializeWithEntId:@"<ent_id>" application:application];
Initialize your Whatfix instance with the ent_id
provided to you on whatfix.com dashboard.
Requirements
- iOS 8.0+
- Xcode 11+
- Objective-C / Swift 5.2