NSMutableArray에있는 모든 이미지를 공유 할 수 있기를 원합니다. 사용자가 공유하고 싶은 사진을보고있을 때 현재보고있는 사진을 보냅니다. 내가 현재있는 UIImageView에 항상 'cats.png을'전송되지만, 내가가있는 UIImageView에있는 모든 이미지를 보낼에서 찾고 배열공유 키트를 사용하여 이미지 게시
UIImage *image = [UIImage imageNamed:@"Cats"];
SHKItem *item = [SHKItem image:image title:@"Take a look at this!"];
// Make the ShareKit action sheet
SHKActionSheet *actionSheet = [SHKActionSheet actionSheetForItem:item];
// Display the action sheet
[actionSheet showInView:self.view];
// this is my array I want it my sharekit will respond to all the items in the array
NSMutableArray *images = [[NSMutableArray alloc] initWithObjects:@"Cats.png",@"GWB.png",@"Australia.png",nil];
기본적으로 어떤 그림에서 하나 개의 그림.
질문을 다시 볼 수 있습니까? 당신은 당신의 묘사에서 뭔가 빠져있는 것처럼 보입니다 : "그것은 현재 하나의 그림뿐만 아니라 현재보고있는 그림을 보낼 것입니다" – nfechner
배열에서 이미지를 공유하고 싶습니다.이 사진을 사용하여 하나의 그림을 공유 할 수 있습니다 : UIImage * image = [UIImage imageNamed : @ "Cats"]; 어떻게하면 공유 배열에있는 모든 객체를 공유 할 수 있습니까 –