This is a simple Menu View On One's View Bottom.
- spring bounds effect
- simple use
- adjustable menu item height
Grab the files in KOMenuView/ and put it in your project.
first, import KOMenuView.h
_blurMenuView = [KOMenuView menuViewWithItem:@[@"Menu 01",@"Menu 02",@"Menu 03",@"Menu 04",@"Menu 05"]
withPlaceView:self.view
withClickByIndex:^(NSInteger itemIndex) {
NSLog(@"itemIndex : %ld",(long)itemIndex);
}];or you can custom menu item height
_blurMenuView = [KOMenuView menuViewWithItem:@[@"Menu 01",@"Menu 02",@"Menu 03",@"Menu 04",@"Menu 05"]
itemHeight:60.f
withPlaceView:self.view
withClickByIndex:^(NSInteger itemIndex) {
NSLog(@"itemIndex : %ld",(long)itemIndex);
}];you can set other funtion if you want
_blurMenuView.foldMenuWhenClickItem = YES; ///fold menu automatically when select item, default NO
_blurMenuView.animaDuration = 0.3; ///animation duration, default 0.25
KOMenuView is released under the MIT license.
Kino
Email: 992276678@qq.com/ kinoandworld@gmail.com
Weibo: http://weibo.com/u/1878504510
contact me if had any quetion .
