-2

following the moodstock guide I can't go on. My problem is about the closing of the scannerviewcontroller. I want to close it when the scanner return a result. thanks in advance

sorry for my english ps : i am italian

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Intmac
  • 3
  • 3

1 Answers1

0

As per the documentation, it looks like would need to implement the MSAutoScannerSessionDelegate methods.

If you wish to do something when the scanner returns a result, use the delegate method:

- (void)session:(id)scannerSession didFindResult:(MSResult *)result
{
  // Delegate callback
  // Write your code here
}
Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Pankaj
  • 346
  • 1
  • 10