Instance Method
containsSpaceToExpandOrShrinkToGridPositions:
Return whether there is enough available space to expand or shrink to specified grid positions.
Declaration
-(BOOL)containsSpaceToExpandOrShrinkToGridPositions:(NSArray *)positions;
Parameters
-
positions
array of grid positions that are examined for availability (can contain current widget positions).
Return Value
YES if page has specified positions available for widget to expand/shrink to; otherwise NO.
Related Links
Dynamic Sizing
- Adding Dynamic Size
-
- containsSpaceToExpandOrShrinkToWidgetSize:
Return whether there is enough available space to expand or shrink to specified size structure.
-
- updateForExpandOrShrinkToGridPositions:
Update the widget to the specfied grid positions.
-
- updateForExpandOrShrinkToWidgetSize:
Update the widget size to the specfied size structure (also updates grid positions).