Instruments 报告这是一个内存泄漏(98.6%,无论如何):
[[NSNotificationCenter defaultCenter] postNotificationName:kNotificationSomeNotification object:self];
“self”是 UIImageView 的子类。通知中是否包含“self”会导致内存泄漏?如果是这样,你如何解决它?
Instruments 报告这是一个内存泄漏(98.6%,无论如何):
[[NSNotificationCenter defaultCenter] postNotificationName:kNotificationSomeNotification object:self];
“self”是 UIImageView 的子类。通知中是否包含“self”会导致内存泄漏?如果是这样,你如何解决它?