Skip to content

SmartSendApp/SSKitCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

SSKitCore

SSKit is a iOS AR Measurement tool you can use in your app to measure volume of objects.

Dont forget to download SSKitCore.zip from releases and unzip in example project.

Implemantation Guide

  1. Download the lastest SDK from releases
  2. Unzip the file
  3. Drag the SSKitCore Framework to your xcode project
  4. On your Project Settings Add SSKitCore to embedded libraries.
  5. On the viewcontroller you want to do measurement import the frameworkk on top of swift file
#if !targetEnvironment(simulator)
import SSKKitCore
#endif
  1. Confirm your viewcontroller to SSViewControllerDelegate
  2. When you want to call the measurement screen use the following code
#if !targetEnvironment(simulator)
let measure = SSViewController.getClass()
measure.resultDelegate = self
measure.massClassification = false
self.present(measure, animated: true, completion: nil)
#else
print("you can't use AR in simulators")
#endif
  1. After the measurement you can use the results with following delecate callback
#if !targetEnvironment(simulator)
extension ViewController: SSViewControllerDelegate {
	func arresutlt(didReceiveResut result: ARResult) {
		// Do anything with the result
	}
}
#endif
  1. Dont forget to add Camera usage description to your info.plist
  2. Make sure to run this on real device not simulator

# Releasing the app

Please contact us about releasing your app on the app store. Currently this SDK does not lets you use the measurement in App Store apps. You can contact us about licanceing at [email protected]