to prevent warning from "PerformSelect may cause a leak because its selector is unknown" [duplicate] to prevent warning from "PerformSelect may cause a leak because its selector is unknown" [duplicate] ios ios

to prevent warning from "PerformSelect may cause a leak because its selector is unknown" [duplicate]


Just use this:

#pragma clang diagnostic push#pragma clang diagnostic ignored "-Warc-performSelector-leaks"[self performSelector:sel withObject:arguments];#pragma clang diagnostic pop


matomo