Closed sebnun closed 8 years ago
@sebnun You can set it on this way:
NSArray *defaultItems = [self.printIO defaultSideMenuItems];
NSMutableArray *sideMenuItems = [[NSMutableArray alloc]initWithArray:defaultItems];
NSArray *helpBtnArr = [sideMenuItems filteredArrayUsingPredicate:[NSPredicate predicateWithFormat:[NSString stringWithFormat:@"SELF.type==%li", (long)PIOSMButtonTypeHelp]]];
PIOSideMenuButton *helpButton = [helpBtnArr firstObject];
helpButton.dataHolder = @"http://www.gooten.com"; // url for help page
[self.printIO setSideMenuItems:sideMenuItems];
Hi, currently the "Help" button on the side menu doesn't work (it does nothing when tapped) and I could not find a method to set the text of this item on the documentation.
I'm using the release 1.7.22.
Which method do I have to use to enable it? Thanks