미분류
UIKit으로 사용자 정의 TextInput View 만들기
UIKit에서 UITextfiled 등, 줄 문자를 입력하기 위한 View들은 제공하고 있습니다. 그런데 말이죠, 줄 문자가 아닌, 위의 스크린샷과 같은 비밀번호 뷰는 도대체 어떻게 만드는 걸까요? 내키지는 않지만, UITextfiled를 hidden 한 다음에, 커스텀뷰를 방금 전 텍스트 필드의 인풋과 연동 시키면 되는 걸까요? 답은 Apple developer 사이트에 https://developer.apple.com/documentation/uikit/keyboards_and_input 한 방에 찾지는 않고 구글에 키워드 검색하다가 찾게되었지만, 이미 API 컬렉션으로 keyboads and input이 제공되고 있었습니다! API CollectionKeyboards and Input (키보드와 입력)Configure the system keyboard, create your own keyboards to handle input, or detect key 더보기…