문제

I have more than 5 text fields in my registration view to get input from the user & the user can choose to edit any of the text field of the available 5.

At any instance in my application, I want to get the UITextField(or a reference of the UITextField) with is the acting as the current first responder in the registration UIView(self.view)

Appreciate any assistance.

도움이 되었습니까?

해결책

I mainly wanted to remove the current active responder in my view. The below code helped me achieve that.

 [self.view endEditing:YES];

Thanks for Stackover flow again.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top