Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: update MTB libraries for frontCamera Issues #108

Open
PietroGranati opened this issue May 23, 2019 · 0 comments
Open

iOS: update MTB libraries for frontCamera Issues #108

PietroGranati opened this issue May 23, 2019 · 0 comments

Comments

@PietroGranati
Copy link

Hi everyone, since with iOS if you try to useFrontCamera the phone lags and take about 7 second to show up I saw that MTB libraries have been updated.
In fact there is a new method: startScanningWithCamera

`/**

  • Start scanning for barcodes using a specific camera. The camera input will be added as a sublayer
  • to the UIView given for previewView during initialization.
  • This method returns quickly and does not wait for the internal session to
  • start. Set the didStartScanningBlock to get a callback when the session
  • is ready, i.e., a camera picture is visible.
  • @param camera The camera to use when scanning starts.
  • @param resultBlock Callback block for captured codes. If the scanner was instantiated with initWithMetadataObjectTypes:previewView, only codes with a type given in metaDataObjectTypes will be reported.
  • @param error Error supplied if the scanning could not start.
  • @return YES if scanning started successfully, NO if there was an error.
    */
  • (BOOL)startScanningWithCamera`

Do you think we can see that implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant