标签:
在XCode的以前版本中,如果遇到了
1 |
message sent to deallocated instance 0x6d564f0 |
1 |
NSString *themePath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:themePathTmp]; |
2 |
if (themePath) |
3 |
self.backgroundIV.image = [UIImage imageWithContentsOfFile:[themePath stringByAppendingPathComponent: @"mask_1.png" ]]; |
4 |
|
5 |
[themePath release]; |
1 |
sudo malloc_history 50127 0x6d564f0 |
结果显示为:
1 |
NSString *themePath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:themePathTmp]; |
1 |
[themePath release]; |
调试message send to deallocated instance问题
标签:
原文地址:http://www.cnblogs.com/iosblogx/p/4484169.html