SBIconViewMap

From iPhone Development Wiki
Revision as of 23:04, 31 July 2016 by Jcorbett (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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 icon maps

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

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

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

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

Reference