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
@property (nonatomic) BOOL shouldActivateMenu; //Flag to turn off the ability to activate the popup menu. Defaults to YES but will be NO if menuItems array is nil or empty.
38
+
@property (nonatomic) BOOL shouldHighlightOutwards; //Defaults to YES. This flag determines whether or not the menu item will animate outwards on highlight. Or just stay in place.
39
+
40
+
@property (nonatomic) CGFloat menuItemDistancePadding; //Distance of each menuItem from the edge of the startingCircle (the thing that indicates your touch)
41
+
42
+
@property (nonatomic) BAMContextualMenuActivateOption activateOption; //User can set this to switch between ways to activate the menu later on.
43
+
44
+
//This will tear down all subviews will calling all implemented data source and delegate methods.
45
+
- (void)reloadDataAndRelayoutSubviews;
46
+
47
+
/**
48
+
Adds Contextual Menu
49
+
@param containingView View that the contextual menu bases most of it's stuff on. Unless the long press is inside of the containingView's bounds, the menu will not activate.
50
+
@param activateOption An option you can pass to control whether the menu is presented on a long press or by tapping on it. Long pressing will cause the menu to dismiss when the user lifts their finger, while the tap gesture keeps the menu up until the user either taps on a menu item or
//Removes the contextual menu from containing view as a subview. This is in case you have need for that sort of thing. You would use this in the prepareForReuse method of your UITableViewCell or UICollectionViewReusableView subclass. Failure to do so could result in a objc_msgSend crash due to the longPressGestureRecognizer being added to the view
0 commit comments