TextField 3

iOS swift UITextField/UITextView 글자 수 제한

iOS swift UITextField/UITextView 글자 수 제한 https://www.todaymart.com/328 UITextField 또는 UITextView 문자 수를 제한하는 방법 UITextField또는 UITextView에 사용자가 특정 글자 수보다 더를 입력되는것을 방지하려면 shouldChangeCharactersIn(텍스트 필드) 또는 shouldChangeTextIn(텍스트 뷰) 를 사용하시면 됩니다. UITextField (한 줄).. www.todaymart.com

iOS swift textfield/ textView return key(enter) keyboard down 키보드 내리기

iOS swift textfield/ textView return key(enter) keyboard down 키보드 내리기 https://www.zerotoappstore.com/how-to-hide-keyboard-in-swift-return-key.html How To Hide Keyboard In Swift On Pressing Return Key - Zero To App Store Eddy Chung I teach iOS development on ZeroToAppStore.com. www.zerotoappstore.com iQKeyboardManager의 경우, textFieldShouldReturn 메소드만 써줘도 해당 기능 적용됨. (touchesBegan 안해도 되었음) https://d..

7.6 [수업복습] 생명주기, 다크모드, 키보드

아이폰- 앱 사용할 때, 사용하지 않을 때로 분류됨 not running (앱이 시작되기 전 상태) active (앱이 화면에서 실행중인 상태) - 아이폰에서 앱 하나만 띄우니까 active인 상태인 앱은 하나. inactive (앱이 화면에서 실행중이나 어떤 신호도 받지 않는 상태) background(앱이 화면에 보이지 않지만 코드를 실행하고 있는 상태) (앱을 여러개 실행했을 때 뒤에 깔리는거) - active 상태가 아님. 제약이 있다. suspend(앱이 곧 종료될 상태) 여기에서 active, inactive 를 묶어서 foreground라고 함 ---->여기까지 iOS12 (Appdelegate) iOS13으로 가면서 달라지기 시작 (iPad 등장) (Scenedelegate 가 등장) 아이..