No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
Root class used in SBFolders (SBRootFolder, SBRootFolderWithDock, SBFloatyFolder, et al.) | Root class used in SBFolders (SBRootFolder, SBRootFolderWithDock, SBFloatyFolder, et al.) | ||
<syntaxhighlight lang="objc" | <syntaxhighlight lang="objc"> | ||
void -[SBFolderView layoutIconLists:(id)lists animationType:(int)type forceRelayout:(BOOL)force] | void -[SBFolderView layoutIconLists:(id)lists animationType:(int)type forceRelayout:(BOOL)force] | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 8: | Line 8: | ||
If `forceRelayout` is True, then `setIconsNeedLayout` will be called on the list beforehand, forcing it to re-layout regardless of the existing state. | If `forceRelayout` is True, then `setIconsNeedLayout` will be called on the list beforehand, forcing it to re-layout regardless of the existing state. | ||
{{occlass|library=SpringBoardHome.framework|navbox=on}} |
Latest revision as of 07:44, 4 September 2023
Root class used in SBFolders (SBRootFolder, SBRootFolderWithDock, SBFloatyFolder, et al.)
void -[SBFolderView layoutIconLists:(id)lists animationType:(int)type forceRelayout:(BOOL)force]
This method iterates through SBIconListViews within the SBFolderView and calls `layoutIconsIfNeeded:animationType:options:` on each instance.
If `forceRelayout` is True, then `setIconsNeedLayout` will be called on the list beforehand, forcing it to re-layout regardless of the existing state.
|