這裏是我得到NSNotification EXC_BAD_ACCESS
Thread 1:EXC_BAD_ACCESS (code=2, address=0xb7ffffc)
在此行中
[[NSNotificationCenter defaultCenter] postNotificationName:AsyncImageLoadDidFinish
object:target
userInfo:[[userInfo copy] autorelease]];
在AsyncImageView.m文件中的錯誤。
該錯誤會停止代碼,但如果我繼續在調試器中凍結Xcode並將其關閉。我該如何解決這個問題?
你怎麼申報'userInfo'? – Kjuly 2012-07-18 14:24:20
'\t \t的NSMutableDictionary * USERINFO = [的NSMutableDictionary dictionaryWithObjectsAndKeys: \t \t \t \t \t \t \t \t \t \t圖像,AsyncImageImageKey, \t \t \t \t \t \t \t \t \t \t URL,AsyncImageURLKey, \t \t \t \t \t \t \t \t \t \t零]' – BigT 2012-07-18 14:29:27