각 사에서 제공하는 클래스를 임포트 한후
if (![KakaoLinkCenter canOpenStoryLink]) {
return;
}
NSArray *imageArray = [NSArray arrayWithObject:[self dataFilePath:kFilename]];
NSDictionary *urlInfoDict = [NSDictionary dictionaryWithObjectsAndKeys:
@"CloudAthlas", @"title",
@"blahblahblah", @"desc",
imageArray, @"imageurl",
nil];
[KakaoLinkCenter openStoryLinkWithPost:@"text from Storylink http://www.youtube.com/watch?v=gU2-ZMWm0xc&feature=g-vrec"
appBundleID:[[NSBundle mainBundle] bundleIdentifier]
appVersion:[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"]
appName:[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"]
urlInfo:urlInfoDict];
/// 마이피플 완성//////////////////////////////////////////////////
/*
MypeopleManager *myPeopleManager = [MypeopleManager alloc];
if (![myPeopleManager canOpenMypeopleURL]) {
NSData *data = UIImagePNGRepresentation(image2save);
[[MypeopleManager sharedInstance] sendMediaData:data fileName:@"mypeople.jpg"];
}
[myPeopleManager release];
[myPeopleManager dealloc];
*/////////////////////////////////////////////////////////
'Developer > IOS' 카테고리의 다른 글
메모리 릭 에러 memory leak (0) | 2013.02.28 |
---|---|
Gesture 초기화와 재스쳐에 따른 뷰 애니메이션 (0) | 2013.02.27 |
UIDocumenet 에 저장 하기.. (0) | 2013.02.25 |
마이피플에 메시지 보내기.. (0) | 2013.02.25 |
키보드 높이 (0) | 2013.02.21 |