No edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<syntaxhighlight lang="objc" | Root class used in SBFolders (SBRootFolder, SBRootFolderWithDock, SBFloatyFolder, et al.) | ||
-[SBFolderView layoutIconLists:(id)lists animationType:(int)type forceRelayout:(BOOL)force] | |||
<syntaxhighlight lang="objc"> | |||
void -[SBFolderView layoutIconLists:(id)lists animationType:(int)type forceRelayout:(BOOL)force] | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 6: | 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.
|