开发者

Hide UIAlertView programmatically?

Is there a way to hide UIAlertView programmatically? Actually I have added a UITextField in UIAlertView and I want to perform the same operation 开发者_Python百科as on "Ok" button press when a user hits the keyboard return key.


Call

[theAlertView dismissWithClickedButtonIndex:0 animated:YES];

when you handle the return key.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜