Instance Method
updateForExpandOrShrinkToGridPositions:
Update the widget to the specfied grid positions. The delegate may animate this change.
Declaration
-(void)updateForExpandOrShrinkToGridPositions:(NSArray *)positions;
Parameters
-
positions
An array of final grid positions that widget will occupy.
Related Links
Dynamic Sizing
- Adding Dynamic Size
-
- containsSpaceToExpandOrShrinkToGridPositions:
Return whether there is enough available space to expand or shrink to specified grid positions.
-
- containsSpaceToExpandOrShrinkToWidgetSize:
Return whether there is enough available space to expand or shrink to specified size structure.
-
- updateForExpandOrShrinkToWidgetSize:
Update the widget size to the specfied size structure (also updates grid positions).