How to access a UITextField which is on a subview of a UIAlertView
i had a alertview 开发者_C百科with a textfield as a subview,,i want to submit gmail through this textfield with alertview button,but how can acess the textfield
Confirm with UITextFieldDelegate
and implement the below function in your class,
– textField:shouldChangeCharactersInRange:replacementString:
– textFieldShouldClear:
– textFieldShouldReturn:
Use delegate methods to access the subviews of Alertview.
精彩评论