Cannot initialize return object of type ‘UITableViewCellEditingStyle‘ with an rvalue of type ‘long‘

tableView C++混编报错,强转一下枚举类型。

 //    return UITableViewCellEditingStyleDelete|UITableViewCellEditingStyleInsert;

    return (UITableViewCellEditingStyle)(UITableViewCellEditingStyleDelete|UITableViewCellEditingStyleInsert);

猜你喜欢

转载自blog.csdn.net/u010069091/article/details/127461244