iOS带动画的下拉菜单:oduwa DropDownMenu
jopen
9年前
DropDownMenu是一个带动画的下拉菜单。
DDMenuItem *item1 = [[DDMenuItem alloc]initMenuItemWithTitle:@"SectionA" icon:[UIImage imageNamed:@"section_a_icon"] withCompletionHandler:^(BOOL finished){ /* Instantiate the View Controller that the menu item should navigate to */ SectionAViewController *viewController = [storyboard instantiateViewControllerWithIdentifier:@"SectionAViewController"]; /* Navigate to it */ [self setViewControllers:@[viewController] animated:NO]; }];