Maybe someone knows that using runtime, you can take a list of applications
Class LSApplicationWorkspace_class = objc_getClass("LSApplicationWorkspace"); SEL selector = NSSelectorFromString(@"defaultWorkspace"); NSObject *workspace = [LSApplicationWorkspace_class performSelector:selector]; SEL selectorALL = NSSelectorFromString(@"allApplications"); NSArray *list = [workspace performSelector:selectorALL]; [list enumerateObjectsUsingBlock:^(id _Nonnull obj, NSUInteger idx, BOOL *_Nonnull stop) { NSLog(@"item %@", [obj valueForKey:@"_bundleExecutable"]); }]; But this is a private api, and it will not get to the appstore. Then it is not clear how the same cleaner and other applications work. Maybe there is some other way or opensource project?