SBAppSwitcherModel

From iPhone Development Wiki
Revision as of 01:56, 3 November 2014 by Twodayslate (talk | contribs) (Created page with "To get the list of recently opened apps (the list in the app switcher) iOS7 [[%c(SBAppSwitcherModel) sharedInstance] identifiers]; iOS8 %c(SBAppSwitcherModel) sharedInst...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

iOS7

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

iOS8

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