UIActionSheetDelegate
全部标签 我希望通过单个UIBarButtonItem按钮进行多个segue,并根据通过UIActionSheetDelegate的响应,正确的UIViewController将通过pushsegue加载。这是我当前用于UIActionSheetDelegate的代码。-(void)actionSheet:(UIActionSheet*)actionSheetclickedButtonAtIndex:(NSInteger)buttonIndex{if(buttonIndex==0){//ratethisapp}elseif(buttonIndex==1){[selfperformSegueWit
我收到警告Incompatiblepointertypessending'Class'toparameteroftype'id'intheline"delegate:self"below:+(SHKActionSheet*)actionSheetForType:(SHKShareType)type{SHKActionSheet*as=[[SHKActionSheetalloc]initWithTitle:SHKLocalizedString(@"Share")delegate:selfcancelButtonTitle:nildestructiveButtonTitle:nilothe
我收到警告Incompatiblepointertypessending'Class'toparameteroftype'id'intheline"delegate:self"below:+(SHKActionSheet*)actionSheetForType:(SHKShareType)type{SHKActionSheet*as=[[SHKActionSheetalloc]initWithTitle:SHKLocalizedString(@"Share")delegate:selfcancelButtonTitle:nildestructiveButtonTitle:nilothe