회원가입 창을 만들때 암호를 가리기 위해서
passwordTextField.isSecureTextEntry = true
코드를 넣었는데, Strong Password 가 뜨면서 가려지지도 않고, 입력한게 보이지도 않았다.
(가로로도 눕혀봤는데 안보이더라ㅜ)
passwordTextField.textContentType = .password
passwordTextField.isSecureTextEntry = true
textContentType 이 그냥 password일때는 Strong Password가 뜨고, newPassword로 해야 암호가 가려지게 적혀진다.
[AutoFill] Cannot show Automatic Strong Passwords for app bundleID: com.neuli.mySignUpProj due to error: iCloud Keychain is disabled
이 메세지를 발견했는데 iCloud keychain 이라는 것이 비활성화돼서 뜨지 않는다고한다. 음... 이게 newPassword로 설정해서 발생하지 않는지는 잘 모르겠다..
passwordTextField.textContentType = .newPassword
passwordTextField.isSecureTextEntry = true
근데 옆에 생기는 저 버튼..? 그림은 뭐지 ㅇㅅㅇ
이 이슈와 관련은 아주 조금이지만 Password 에 관해 자세히 적어놓은 사이트
iOS12 — Password AutoFill, Automatic Strong Password, and Security Code AutoFill
Originally published on DeveloperInsider: iOS12 — Password AutoFill, Automatic Strong Password, and Security Code AutoFill
medium.com
'iOS > STUDY' 카테고리의 다른 글
[iOS] UITableView (0) | 2021.03.15 |
---|---|
[iOS] Singleton (3) | 2021.03.12 |
[iOS] UIDatePicker, UIGestureRecognizer (4) | 2021.03.06 |
[iOS] Delegate (4) | 2021.02.09 |
[iOS] View transition (0) | 2021.02.05 |