Instance Method
containsSpaceForGridPositions:
Return whether there is enough space available for grid positions.
Declaration
-(BOOL)containsSpaceForGridPositions:(NSArray *)positions;
Parameters
-
positions
array of grid positions that are examined for availability.
Return Value
If the view controller was presented as additional options then it will return YES when specified positions are available for widget addition. If instead the view controller was presented as preferences then it will return YES when specified positions are available for expansion (may include current widget positions). Otherwise returns NO.
Related Links
Checking Space Availability
-
- containsSpaceForWidgetSize:
Return whether there is enough space available for widget of specified size.