SBAppSwitcherModel

From iPhone Development Wiki
Revision as of 06:57, 3 November 2014 by Britta (talk | contribs) (formatting)
Jump to: navigation, search

To get the list of recently opened apps (the list in the app switcher).

iOS 7

[[%c(SBAppSwitcherModel) sharedInstance] identifiers];

iOS 8

[[%c(SBAppSwitcherModel) sharedInstance] snapshotOfFlattenedArrayOfAppIdentifiersWhichIsOnlyTemporary];