You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, SPUserResizableView will show the editing handles (as seen in the screenshot above) whenever it receives a touch event. The editing handles will remain visible even after the userResizableViewDidEndEditing: message is sent. This is to provide visual feedback to the user that the view is indeed moveable and resizable. If you'd like to dismiss the editing handles, you must explicitly call -hideEditingHandles.
52
70
53
71
The SPUserResizableView is customizable using the following properties:
54
72
55
73
```objective-c
74
+
/**
75
+
* Minimum width to let user resize
76
+
* @default Default is 48.0 for each.
77
+
*/
56
78
@property (nonatomic) CGFloat minWidth;
79
+
/**
80
+
* Minimum height that will let user to resize
81
+
*/
57
82
@property (nonatomic) CGFloat minHeight;
83
+
84
+
/**
85
+
* Disables resize of the view
86
+
* @default NO
87
+
*/
88
+
@property (nonatomic) BOOL disable;
89
+
90
+
/**
91
+
* Disables resize of the view if user use more than 1 finger.
92
+
* @default NO
93
+
*/
94
+
@property (nonatomic) BOOL disableOnMultiTouch;
95
+
/**
96
+
* Defaults to YES. Disables the user from dragging the view outside the parent view's bounds.
0 commit comments