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.
- Download the lastest SDK from releases
- Unzip the file
- Drag the SSKitCore Framework to your xcode project
- On your Project Settings Add SSKitCore to embedded libraries.
- On the viewcontroller you want to do measurement import the frameworkk on top of swift file
#if !targetEnvironment(simulator)
import SSKKitCore
#endif
- Confirm your viewcontroller to
SSViewControllerDelegate
- 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
- 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
- Dont forget to add Camera usage description to your info.plist
- 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]