开发者

How to access a UITextField which is on a subview of a UIAlertView

开发者 https://www.devze.com 2023-02-22 13:46 出处:网络
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 im

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消