Instance Method

containsSpaceForWidgetSize:

Return whether there is enough space available for widget of specified size.


Declaration


-(BOOL)containsSpaceForWidgetSize:(HSWidgetSize)size;

Parameters

Return Value

If the view controller was presented as additional options then it will return YES when there is enough space available for a widget of specified size. If instead the view controller was presented as preferences then it will return YES when there is enough space available for widget expansion to specified size. Otherwise returns NO.

Related Links


Checking Space Availability