Instance Method
updatePageForExpandOrShrinkOfWidget:toGridPositions:
Expand or shrink widget to the specified widget positions.
Declaration
-(void)updatePageForExpandOrShrinkOfWidget:(HSWidgetViewController *)widgetViewController toGridPositions:(NSArray *)positions;
Parameters
-
widgetViewController
widget view controller to expand/shrink
-
positions
array of grid positions that widget will occupy after expand/shrink
Description
The widget should send this message to the delegate when it wants to perform the expanding or shrinking accessory events. The delegate is responsible for animating only the container view changes.
Related Links
Widget Sizing
-
- canWidget:expandOrShrinkToGridPositions:
Return whether widget can expand or shrink to the specified widget positions.
Positions
-
HSWidgetPositionObject
An object wrapper for widget position structure.