有人可以告诉我为什么以下代码在 Instruments 中泄漏吗?
UIActivityViewController *activityController = [[UIActivityViewController alloc] initWithActivityItems:activityItems applicationActivities:nil];
activityController.excludedActivityTypes = [NSArray arrayWithObjects:@"a",@"b", nil];
[self presentViewController:activityController animated:YES completion:nil];
[activityController release];
仪器显示行泄漏:
activityController.excludedActivityTypes = [NSArray arrayWithObjects:@"a",@"b", nil];