开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜