Conversation
…ceneDelegate의 루트뷰 코드 수정
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1. 요약
2. 스크린샷
앱 잠금 토글 추가
앱 잠금 활성화
앱 잠금 활성화 후 앱 실행시 동작
3. 공유사항
1. 생체 인증을 위해
LocalAuthentication을 import하고,BiometricAuthManager로 객체화2. 권한 요청에 대한 부분
3. 암호 인증
4. 'Face ID' 혹은 'Touch ID'라고 띄우기
참고
참고로, LAError 에러 코드는 위와 같이 정리할 수 있는데, 표현이 조금 미묘한 느낌이 있습니다.
자세한 건 LAError 공식문서를 보시면 아실 수도 있는데, 설명이 워낙 간결해서 저는 써봐야 알겠더라구요..
.biometryNotAvailable은 공식 문서에도Biometry is not available on the device.이렇게만 쓰여있고, GPT 설명으로는 생체 인증이 불가능한 기기에서 생체 인증을 진행하려 할 경우 나는 것처럼 쓰여있습니다. 틀린 건 아닌데, Face ID 권한을 거부했을 때도 이 에러가 동작해서.biometryNotEnrolled와.authenticationFailed랑 구분하기 어려워 당황스러운 경우가 있었습니다.로컬 인증 정책에 대한 것은 LAPolicy 공식문서 확인하면 편합니다..!