开发者

Closing UIAlertView instead of using dissmissing

开发者 https://www.devze.com 2023-01-28 15:38 出处:网络
I have a question about how I close and release the custom designed UIA开发者_JAVA百科lertView. In my UIAlertView, i\'m using the dismissWithClickedButtonIndex function; however, it only closes to the

I have a question about how I close and release the custom designed UIA开发者_JAVA百科lertView. 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?


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".

0

精彩评论

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