Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
SBIconViewMap - iPhone Development Wiki

SBIconViewMap

From iPhone Development Wiki
Revision as of 01:15, 20 June 2014 by Cykey (talk | contribs) (Quick explanation about SBIconViewMap)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


SBIconViewMap is a class that handles the recycling of SBIconViews. If icons need to be displayed in two different locations at the same time (e.g homescreen & app switcher), two different instances of SBIconViewMap need to be created.

Accessing the homescreen & switcher maps

The homescreen's map can be accessed using the following method:

Signature +(SBIconViewMap *)homescreenMap;
Available in 5.0 —

Similarly, the switcher's map can be accessed using the following method:

Signature +(SBIconViewMap *)switcherMap;
Available in 6.0 —

Reference

  • Headers:

https://github.com/caughtinflux/include/blob/master/SpringBoard/SBIconViewMap.h