resign keyboard textfield

iOS Swift 2016. 12. 31. 16:37

// uitextfield


    @IBOutlet var userID: UITextField!




    userID.resignFirstResponder()//resign keyboard focus





// global

        UIApplication.shared.sendAction(#selector(UIApplication.resignFirstResponder), to: nil, from: nil, for: nil);

블로그 이미지

엘로드넷

,