关闭 UIAlertView 而不是使用 dissmissing

发布于 2024-10-05 21:16:03 字数 174 浏览 0 评论 0原文

我有一个关于如何关闭和释放自定义设计的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

空袭的梦i 2024-10-12 21:16:03

它如何接近背景?我假设您指的是 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".

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文