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

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

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
SpringBoardHome.framework: Difference between revisions - iPhone Development Wiki

SpringBoardHome.framework: Difference between revisions

From iPhone Development Wiki
(Created page with "{{infobox Framework | vis = Private | since = 13.0 | classID = SB / SBH }} '''SpringBoardHome''' is a framework that provides classes to deal with Homescreen Icon List elemen...")
 
(Added screen types)
(One intermediate revision by one other user not shown)
Line 5: Line 5:
}}
}}


'''SpringBoardHome''' is a framework that provides classes to deal with Homescreen Icon List elements in SpringBoard.  
'''SpringBoardHome''' is a framework that provides classes to deal with Homescreen Icon List elements in SpringBoard.


Many of the classes dealing with icons that were previously contained in SpringBoard itself were moved here.  
Many of the classes dealing with icons that were previously contained in SpringBoard itself were moved here. It appears that the majority of classes dealing with the "Home Screen," a la Icons, the sidebar, etc. are being moved to this framework.
 
More classes were moved to this framework with iOS 14, and it appears to have "taken the reins" in regards to icon placement and movement.
 
== Screen Type ==
 
Apple represents types of screens of all iOS/iPadOS devices as an integer. By reversing the function <code>SBHStringForScreenType</code>, we can derive all the values:
 
<source lang="objc">
 
typedef NS_ENUM(NSInteger, SBHScreenType) {
    SBHScreenTypeiPhone5 = 0,
    SBHScreenTypeiPhone6 = 1,
    SBHScreenTypeiPhone6Plus = 2,
    SBHScreenTypeiPhoneX = 3,
    SBHScreenTypeiPhoneXZoomed = 4,
    SBHScreenTypeiPhoneXsMax = 5,
    SBHScreenTypeiPhoneXsMaxZoomed = 6,
    SBHScreenTypeiPhoneXr = 7,
    SBHScreenTypeiPhoneXrZoomed = 8,
    SBHScreenTypeiPhone12Mini = 9,
    SBHScreenTypeiPhone12MiniZoomed = 10,
    SBHScreenTypeiPhone12 = 11,
    SBHScreenTypeiPhone12Zoomed = 12,
    SBHScreenTypeiPhone12ProMax = 13,
    SBHScreenTypeiPhone12ProMaxZoomed = 14,
    SBHScreenTypeiPad3 = 15,
    SBHScreenTypeiPadMini2 = 16,
    SBHScreenTypeiPad7 = 17,
    SBHScreenTypeiPadPro1 = 18,
    SBHScreenTypeiPadPro2 = 19,
    SBHScreenTypeiPadAir4 = 20,
    SBHScreenTypeiPadPro3 = 21,
    SBHScreenTypeiPadPro3Large = 22,
    SBHScreenTypeiPadPro3LargeZoomed = 23
};
 
</source>


*  [https://developer.limneos.net/?ios=13.1.3&framework=SpringBoardHome.framework iOS 13 Headers]
*  [https://developer.limneos.net/?ios=13.1.3&framework=SpringBoardHome.framework iOS 13 Headers]


{{Navbox Frameworks}}
{{Navbox Frameworks}}

Revision as of 06:53, 16 May 2021

SpringBoardHome.framework
Private Framework
Availabile 13.0 – present
Class Prefix SB / SBH
Headers [headers.cynder.me]


SpringBoardHome is a framework that provides classes to deal with Homescreen Icon List elements in SpringBoard.

Many of the classes dealing with icons that were previously contained in SpringBoard itself were moved here. It appears that the majority of classes dealing with the "Home Screen," a la Icons, the sidebar, etc. are being moved to this framework.

More classes were moved to this framework with iOS 14, and it appears to have "taken the reins" in regards to icon placement and movement.

Screen Type

Apple represents types of screens of all iOS/iPadOS devices as an integer. By reversing the function SBHStringForScreenType, we can derive all the values:

typedef NS_ENUM(NSInteger, SBHScreenType) {
    SBHScreenTypeiPhone5 = 0,
    SBHScreenTypeiPhone6 = 1,
    SBHScreenTypeiPhone6Plus = 2,
    SBHScreenTypeiPhoneX = 3,
    SBHScreenTypeiPhoneXZoomed = 4,
    SBHScreenTypeiPhoneXsMax = 5,
    SBHScreenTypeiPhoneXsMaxZoomed = 6,
    SBHScreenTypeiPhoneXr = 7,
    SBHScreenTypeiPhoneXrZoomed = 8,
    SBHScreenTypeiPhone12Mini = 9,
    SBHScreenTypeiPhone12MiniZoomed = 10,
    SBHScreenTypeiPhone12 = 11,
    SBHScreenTypeiPhone12Zoomed = 12,
    SBHScreenTypeiPhone12ProMax = 13,
    SBHScreenTypeiPhone12ProMaxZoomed = 14,
    SBHScreenTypeiPad3 = 15,
    SBHScreenTypeiPadMini2 = 16,
    SBHScreenTypeiPad7 = 17,
    SBHScreenTypeiPadPro1 = 18,
    SBHScreenTypeiPadPro2 = 19,
    SBHScreenTypeiPadAir4 = 20,
    SBHScreenTypeiPadPro3 = 21,
    SBHScreenTypeiPadPro3Large = 22,
    SBHScreenTypeiPadPro3LargeZoomed = 23
};