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...") |
(formatting) |
||
Line 1: | Line 1: | ||
To get the list of recently opened apps (the list in the app switcher) | To get the list of recently opened apps (the list in the app switcher). | ||
== iOS 7 == | |||
<source lang=objc> | |||
[[%c(SBAppSwitcherModel) sharedInstance] identifiers]; | [[%c(SBAppSwitcherModel) sharedInstance] identifiers]; | ||
</source> | |||
== iOS 8 == | |||
<source lang=objc> | |||
[[%c(SBAppSwitcherModel) sharedInstance] snapshotOfFlattenedArrayOfAppIdentifiersWhichIsOnlyTemporary]; | [[%c(SBAppSwitcherModel) sharedInstance] snapshotOfFlattenedArrayOfAppIdentifiersWhichIsOnlyTemporary]; | ||
</source> | |||
{{occlass|library=SpringBoard.app|navbox=1}} |
Revision as of 06:57, 3 November 2014
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];