Class Method
allowedInstancesPerPage
Return the number of allowed instances per page so that widget manager can restrict additional instances.
Declaration
+(NSInteger)allowedInstancesPerPage;
Return Value
Number of instances of this widget that can be added to the same page or -1 for unlimited instances. Default implementation is unlimited instances.
Related Links
Adding Widgets
-
+ isAvailable
Returns whether the widget is currently available for addition.
-
+ minimumSize
Gets the minimum size required to add the widget to page.
-
+ canAddWidgetForAvailableGridPositions:
Get whether the widget can be added for given available grid positions.