1
我在左側滑動條上使用JTRevealSidebar V2和UITableView
。JTRevealSidebar推送到ViewController
我不知道如何通過發送消息推送到其他ViewController。
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
if (self.sidebarDelegate) {
NSString *text = [self.leftList objectAtIndex:indexPath.row];
if ([text isEqual:@"Warenkorb"]) {
NSLog(@"Ist warenkorb");
// How to push/create/bring2top view of msCartViewController Identified by "Cart"?
// NSLog works
}
}
}
這怎麼辦?