Go to file
Giacomo Pinato 2d42e6c527 RC 2.1 2016-09-19 15:41:23 +02:00
UsabillaFeedbackForm.framework RC 2.1 2016-09-19 15:41:23 +02:00
ChangeLog.txt RC 2.1 2016-09-19 15:41:23 +02:00
LICENSE RC 2.1 2016-09-19 15:41:23 +02:00
Readme.MD first commit 2016-05-06 17:59:58 +02:00
UsabillaFeedbackForm.podspec RC 2.1 2016-09-19 15:41:23 +02:00

Readme.MD

Usabilla for Apps - iOS SDK

This repository contains the SDK for iOS and relative CocoaPods spec. Take a look at our Wiki for a complete and in depth guide on how to install and customize the SDK.

Installation

Using CocoaPods

Include pod 'UsabillaFeedbackForm', :git => 'https://github.com/usabilla/usabilla-u4a-ios-swift-sdk.git' in your Pod file and run pod install to install the SDK.

How to get started

On the web

  • Create a new app on your Usabilla Live for Apps section.
  • Copy th AppId from the app you wish to use in your SDK.

On the SDK

  • Include import UsabillaFeedbackForm in your ViewController.
  • Save the AppId you created on the web on a local variable.
  • If you want, you can take an optional screenshot of the current view wherever you feel is appropriate with let image = UsabillaFeedbackForm.takeScreenshot(self.view)
  • Implement the UsabillaFeedbackFormDelegate protocol in your ViewController
  • Launch the form with:
UsabillaFeedbackForm.initSDKWithScreenshot("appId", screenshot: nil, customVariables: nil)

Pass nil as the screenshot parameter if you don't want to have a screenshot of the current view