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

TLPhotoPicker Photo Captured from Camera Not Functioning #289

Open
nicholaschong95 opened this issue Oct 6, 2020 · 0 comments
Open

TLPhotoPicker Photo Captured from Camera Not Functioning #289

nicholaschong95 opened this issue Oct 6, 2020 · 0 comments

Comments

@nicholaschong95
Copy link

nicholaschong95 commented Oct 6, 2020

Issue: [Camera] Failed to read exposureBiasesByMode dictionary: Error Domain=NSCocoaErrorDomain Code=4864
Version: Xcode 12.0.1

I'm having issue which TLPhotoPickerViewController does not call imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) after capturing an image from TLPhotoPicker, may i know what is the issue? previously running on older IDE shouldn't have this issue. I also tried using on new project and seems to be no issue at all.

Anyone facing this issue?

let viewController = TLPhotosPickerViewController()
viewController.delegate = self

viewController.didExceedMaximumNumberOfSelection = { [weak self] (picker) in
    self?.showExceededMaximumAlert(vc: picker)
}

viewController.canSelectAsset = { [weak self] asset -> Bool in
    return self?.showExceededMediaSizeAlert(vc: viewController, asset: asset) ?? true
}

viewController.customDataSouces = TLPhotoDataSource()

var configure = TLPhotosPickerConfigure()
configure.allowedVideo = false
configure.allowedVideoRecording = false
configure.allowedAlbumCloudShared = false
configure.maxSelectedAssets = 5
configure.numberOfColumn = 3
configure.groupByFetch = .day

viewController.configure = configure
viewController.selectedAssets = self.selectedAssets
viewController.logDelegate = self

vc.present(viewController, animated: true, completion: nil)
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