일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
- SWIFT
- swiftUI
- UICollectionView
- HIG
- Observable
- combine
- ios
- rxswift
- tableView
- Human interface guide
- 리펙터링
- UITextView
- Clean Code
- Xcode
- 스위프트
- uiscrollview
- 클린 코드
- map
- RxCocoa
- uitableview
- swift documentation
- ribs
- MVVM
- 리펙토링
- clean architecture
- Refactoring
- Protocol
- collectionview
- 애니메이션
- 리팩토링
- Today
- Total
목록AVCaptureDevice (2)
김종권의 iOS 앱 개발 알아가기
카메라 사용 구현 아이디어 카메라 권한 요청 거부한 상태라면 setting화면으로 이동하는 alert 오픈 AVCaptureDevice.requestAccess(for: .video) { ... } 카메라를 여는 가장 단순한 방법인 UIimagePickerController를 present 사진을 찍었을 때 사진 찍은것을 확인할 수 있는 방법인, delegate를 사용 pickerController.delegate = self extension ViewController: UINavigationControllerDelegate, UIImgePickerControllerDelegate { func imagePickerController(_:didFinishPickingMediaWithInfo:) { .....
핵심 타입 AVCaptureSession AVCaptureDevice AVCaptureDeviceInput, AVCapturePhotoOutput AVCaptureVideoPreviewLayer AVCaptureSession 개념: 세션이란 입력에서 출력 장치로의 데이터 흐름을 제어하는데 사용 해상도 설정: captureSession.sessionPreset captureSession = AVCaptureSession() captureSession.sessionPreset = .photo // set resoultion AVCaptureDevice 개념: 말 그래로 "capture"하는 물리적인 device를 참조하는 데이터형 guard let backCamera = AVCaptureDevice.defa..