我在下面的“delegate:self”行中收到警告不兼容的指针类型将“类”发送到“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 中,如果有人知道如何修复它,请告诉我!