에 ALCameraViewController의 Libraray를 포함하는 어떻게 자르기 VC을 가지고스위프트
https://github.com/AlexLittlejohn/ALCameraViewController
에서 ALCameraViewController을 포함하고 싶습니다.
let croppingEnabled = true
let cameraViewController = CameraViewController(croppingEnabled: croppingEnabled) { [weak self] image, asset in
// Do something with your image here.
// If cropping is enabled this image will be the cropped version
self?.dismissViewControllerAnimated(true, completion: nil)
}
presentViewController(cameraViewController, animated: true, completion: nil)
- 을하지만 문제는 "CameraViewController는"찾을 수없는 것이있다 : 설명은 말한다처럼 CocoaPods로 가져온 후, 나는 코드를 붙여 넣습니다.
- "가져 오기 ALCameraViewController"하지만 "ALCameraViewController"단어를 가져올 수 없다고 생각합니다.
나는 어떻게 나아갈 지 모른다. 이 질문에 도움이 될만한 사람이 있습니까? 대단히 감사합니다!
.xcworkspace 프로젝트를 사용하고 있습니까? –