Closing UIAlertView instead of using dissmissing
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".
精彩评论