(updating with info from SBIconView) |
Twodayslate (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
In iOS 5 Apple split up SBIcon, creating a separate class for [[SBIconView]], and just leaving SBIcon with behind the scenes stuff. | In iOS 5 Apple split up SBIcon, creating a separate class for [[SBIconView]], and just leaving SBIcon with behind the scenes stuff. | ||
== Launching an Application using SBIcon == | |||
<source type=objc> | |||
[icon launchFromLocation:4]; | |||
</source> | |||
0 = Springboard/dock | |||
4 = Spotlight | |||
== References == | == References == | ||
{{IPFHeader|SpringBoard|.app}} | {{IPFHeader|SpringBoard|.app}} |
Revision as of 20:23, 3 March 2014
SBIcon is a class representing an icon displayed by SpringBoard. It is not typically used directly; instead, its various subclasses are used: SBApplicationIcon, SBBookmarkIcon, SBDownloadingIcon, and SBDestinationHole (which is a blank space used when rearranging icons).
In iOS 5 Apple split up SBIcon, creating a separate class for SBIconView, and just leaving SBIcon with behind the scenes stuff.
Launching an Application using SBIcon
[icon launchFromLocation:4];
0 = Springboard/dock 4 = Spotlight
References