FTPopMenu
FTPopMenu copied to clipboard
Custom size
Thanks for library! Question: how i can change of menu to custom?
~~I don't seem to understand the Question. I guess you are ask about how to change the tableview into other UI maybe? I don't have the answer for that.~~
~~But I have a project which demonstrates how to put custom UI in a popover view controller. At https://github.com/liufengting/FTResourceRepo in FTIBInspectable folder~~
~~Also maybe take a look at my another library FTPopOverMenu, which is more easy and more complete.~~
Sorry, answer is at below.
Try the following line :
- (IBAction)showAction:(UIButton *)sender
{
[FTPopMenu showFTMenuForViewController:self
fromView:sender
title:@"I am Title"
menuArray:[self menuStringArray]
menuImageNameArray:[self menuStringArray]
perferedWidth:200
rowHeight:60
tintColor:[UIColor blackColor]
doneBlock:^(NSInteger selectedIndex) {
}
cancelBlock:^{
}];
}