Tag: 不兼容

将“Class”发送给types为“id <UIActionSheetDelegate>”的参数的指针types不兼容

我收到警告不兼容的指针types发送'类'参数types'id'在下面的行“委托:自我”: + (SHKActionSheet *)actionSheetForType:(SHKShareType)type { SHKActionSheet *as = [[SHKActionSheet alloc] initWithTitle:SHKLocalizedString(@"Share") delegate:self cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles:nil]; as.item = [[[SHKItem alloc] init] autorelease]; as.item.shareType = type; 这个警告是在ShareKit,如果有人知道如何解决它,请让我知道!