Skip to content

Commit b71a2d3

Browse files
committed
fix default menu items position in Example
1 parent 82fbc61 commit b71a2d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Example/ContextMenu/ViewController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ - (IBAction)presentMenuButtonTapped:(UIBarButtonItem *)sender {
7979
//optional - implement custom YALContextMenuTableView custom protocol
8080
self.contextMenuTableView.yalDelegate = self;
8181
//optional - implement menu items layout
82-
self.contextMenuTableView.menuItemsSide = Left;
83-
self.contextMenuTableView.menuItemsAppearanceDirection = FromBottomToTop;
82+
self.contextMenuTableView.menuItemsSide = Right;
83+
self.contextMenuTableView.menuItemsAppearanceDirection = FromTopToBottom;
8484

8585
//register nib
8686
UINib *cellNib = [UINib nibWithNibName:@"ContextMenuCell" bundle:nil];

0 commit comments

Comments
 (0)