Get ConsumerPhysics Models
August 2, 2016

Get ConsumerPhysics models info (name, ID, supported SCiO versions, etc.) and use them to analyze your scans.

Each model has a “supportedSCiOVersions” array property that contains all the supported SCiO versions for the specific model.

__weak typeof(&*self)weakSelf = self;
[[CPScioCloud sharedInstance] getCPModelsWithCompletion:^(BOOL success, NSArray *models, NSError *error) {
    if (success) {
        [weakSelf modelsScreenWithModels:models];
        return;
    }
    
    // Error
    dispatch_async(dispatch_get_main_queue(), ^{
        [weakSelf alertWithTitle:error.userInfo[NSLocalizedDescriptionKey]  mes-sage:error.userInfo[NSLocalizedFailureReasonErrorKey]];
    });
}];}

Leave a Reply