UIImage Animation Causing App to Crash / Memory Leaks
问题 I'm using a UIImage animation and it is causing numerous memory leaks and crashes for different users using the application. Below is my code. I am preloading the set of two animation in viewDidAppear pointsView.image = [UIImage imageNamed:@"C72.png"]; NSMutableArray *menuanimationImages = [[NSMutableArray alloc] initWithCapacity:21]; NSString *imageName; for( int aniCount = 0; aniCount < 72; aniCount++ ) { imageName = [NSString stringWithFormat:@"C%d.png", aniCount]; [menuanimationImages