ios - How to delay the camera function that uses zxing library? -
I use zxing to scan the barcode but the camera scans the real quick, so that my method is overloaded with the result Lets do it.
- (empty) Capture result: (ZXCapture *) Capture Result: How to make it slow or delay the barcode to scan? (ZXResult *) Result {If (! Result) Return; // We found a result display information about onscreen NSString * formatString = [self barcode formatattostring: result.barcodeFormat]; NSString * display = [NSString stringWithFormat: @ "Scan! \ N \ n Format:% @ \ n \ nContent: \ n% @", format string, result.txt]; [Self.decodedLabel DemonstrationOnMineTrade: @Selector (with Settext Object): Wait until Available: Yes]; // Vibrate Audio Services Play System Sound (CascismSIDID_Wibet); }
I suggest using the sleep function to use sleep (TimeInSeconds) Try to do this, so it will delay the scanner for the seconds you enter.
Comments
Post a Comment