After you mix up the class, inside the method you use, follow these steps if, for example, you are trying to get an icon for a mail application
// Get the SBApplication for the mail app Class $SBApplicationController = objc_getClass("SBApplicationController"); SBApplication *mailApp = [[$SBApplicationController sharedInstance] applicationWithDisplayIdentifier:@"com.apple.mobilemail"]; // Get the SBApplicationIcon for the mail app SBApplicationIcon *mailAppIcon = [[objc_getClass("SBApplicationIcon") alloc] initWithApplication:mailApp];
It is important to get the correct DisplayIdentifier of the application that interests you.
Hope this help! any problems please scream.
source share