# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Warc-performSelector-leaks"
[self performSelector:callFunc withObject:array[1]];
# pragma clang diagnostic pop
使用原理:将出现警告的代码加入内存栈中