Dev:SBApplication

SBApplication is a class that represents individual applications. It contains anything you could possibly want to know about the application it represents.

Fetching SBApplications
SBApplicationController holds all known instances of SBApplication. There will usually just be a single instance per currently-running application. An instance can be retrieved using the wanted-application's bundle identifier.

Fetching Frontmost App's SBApplication Instance
This method will return the frontmost application's SBApplication instance. If no app is currently running  will be returned. Internally it queries SBSceneManagerCoordinator to retrieve the application (if any) that is fulfilling the primary layout role.

Fetching All Instances
SBApplicationController can provide an array containing all known instances of SBApplication.

Launching an SBApplication
SBUIController can be used to launch an SBApplication.

To disable launch animations simply apply the correct activation setting before calling.

Notes:
 * This method will not respect parental control. However, you can determine if an SBApplication is restricted (parental locked) by using SBApplicationRestrictionController, which SBApplicationController holds an instance of.

Other Known Activation Flags

Useful Methods
These are a few of the useful items in SBApplication.

Application Info.plist
SpringBoard will recognize the following Info.plist keys:


 * UISystemProvisioning
 * SBDemoRole
 * SBIsRevealable
 * SBUsesNetwork
 * UIJetsamPriority
 * SBIconClass
 * SBSpotlightIcons
 * UIRoles
 * SBMachServices
 * disabled
 * CFBundleIconFile
 * SPSearchDomainLaunchInfo
 * SBAppTags
 * Other UIKit keys described in http://developer.apple.com/IPhone/library/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html

Starting from 3.2 these documented keys are also recognized:


 * ProductType, UIDeviceFamily, DeviceFamily
 * UIAppFonts
 * UIFileSharingEnabled
 * UISupportedInterfaceOrientations

As of iOS 8, the following undocumented key is also recognized:


 * _UILaunchAlwaysFullScreen