关闭 UIAlertView 而不是使用 dissmissing
我有一个关于如何关闭和释放自定义设计的 UIAlertView
的问题。在我的 UIAlertView
中,我使用 dismissWithClickedButtonIndex
函数;然而,它只是关闭背景,并没有真正关闭。
有人有解决办法吗?
I have a question about how I close and release the custom designed UIAlertView
. In my UIAlertView
, i'm using the dismissWithClickedButtonIndex
function; however, it only closes to the background, it doesn't close in real manner.
Does anyone have a solution for that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它如何接近背景?我假设您指的是 UIAlertView 的指针在关闭后仍然有效?在这种情况下,您需要
[myAlertView release];
来“让它完全消失”。How does it close to the background? I assume you are refering to the pointer of the UIAlertView is still valid after dismissing? In that case you need to
[myAlertView release];
to "make it go away completely".