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?

  • what is cleaner? - Max Mikheyenko
  • garbage cleaner in the cache, it is in the appstore. Even if you mess with the antivirus (it also finds installed applications), these applications are not banned. - vlad_22de
  • where can I see it? by the word cleaner gives out millen applications - Max Mikheyenko
  • so it only removes the same photos. or did I miss something - Max Mikheyenko

0