Open novinfard opened 8 years ago
I create a BOButtonTableViewCell and set destinationViewController for it, but after go the destination view controller and then go back to Bohr controller, the item's title disappears!
BOButtonTableViewCell
destinationViewController
[section addCell:[BOButtonTableViewCell cellWithTitle:@"Sample Text" key:nil handler:^(BOButtonTableViewCell *cell) { cell.mainFont = [UIFont fontWithName:FONT_MAIN size:18]; SampleViewController *dvc = [[SampleViewController alloc] init]; cell.destinationViewController = dvc; }]];
Before:
After:
How to solve this issue?
I have this error as well
Figured it out - you must instantiate the view in a nav controller so it is able to push itself on the view hierarchy.
I create a
BOButtonTableViewCell
and setdestinationViewController
for it, but after go the destination view controller and then go back to Bohr controller, the item's title disappears!Before:
After:
How to solve this issue?