![](//vs1.manuzoid.com/store/data-gzf/8fc707e4a818a7956c6a214434280cc4/2/001895594.htmlex.zip/bge.jpg)
Kofax mobiFlow iOS Developer's Guide
TISCaptureManagerViewController * captureManagerViewController =
[[TISCaptureManagerViewController alloc] initWithSessionParameters:
sessionParameters];
captureManagerViewController.captureManagerDelegate = self;
[self presentViewController:captureManagerViewController animated:YES completion:nil];
Example with configured parameters (recommended method)
This example depicts how to run the camera and configure parameters.
TISSessionParameters* sessionParameters = [[TISSessionParameters alloc]
initWithDocumentType: TISDocumentTypeCheck ];
//(This is only an example of how to initialize the TISSessionParameters, see the table
below with all possible values)
sessionParameters.enableIQA = NO;
sessionParameters.showGuidelinesIndicators = YES;
sessionParameters.outputGrayscaleImage = YES;
sessionParameters.outputOriginalImage = YES;
sessionParameters.outputBinarizedImage = YES;
sessionParameters.outputColorImage = YES;
sessionParameters.enableBlurDetection = YES;
sessionParameters.enableCountdownSound = NO;
sessionParameters.enableLeveler = YES;
//Sample Parameters for checks only
sessionParameters.scanFrontOnly = YES;
sessionParameters.ocrType = OCRType_MICR_E13B ;
//load information view
sessionParameters.showInfoScreen = YES;
sessionParameters.infoScreenInterval = 10.0;
//IQA init will load the default 21 IQA settings
TISCheckIqaParameters* iQAParameters = [[TISCheckIqaParameters alloc] init];
//To load default 51 IQA settings
TISCheckIqaParameters* iQAParameters = [TISCheckIqaParameters IQA51Defaults];
[iQAParameters setCornerFrontSameToAllCorners:0.8f width:0.8f area:0.3f];
[iQAParameters setCornerBackSameToAllCorners:3.0f width:3.0f area:1.0f];
[iQAParameters setEdgeSameToAllSides:0.8f width:0.8f area:0.3f];
[iQAParameters setRotationSkew:7.5f];
[iQAParameters setMaxDarknessBack:0.98f];
[iQAParameters setMaxDarknessFront:0.9f];
[iQAParameters setMinDarknessBack:0.0038f];
[iQAParameters setMinDarknessFront:0.009f];
[iQAParameters setNumberOfSpotsBack:5852];
[iQAParameters setNumberOfSpotsFront:5852];
[iQAParameters setMaxImageFileSizeBack:200.00];
[iQAParameters setMinImageFileSizeBack:0.50];
[iQAParameters setMaxImageFileSizeFront:200.00];
[iQAParameters setMinImageFileSizeFront:0.50];
//This line must be called each time you start a new session
sessionParameters.IQASettings = iQAParameters;
//Leveler
TISLevelerParameters* levelerParameters = [[ TISLevelerParameters alloc] init];
//init will load the default leveler settings
14