Contents

Views 4416 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

# URL Scheme 이용하여 카카오톡, 라인, 마이피플 앱 설치 확인

- (void)canOpenInviteAppURL
{
    NSString *kakaotalk = [NSString stringWithFormat:@"%@",@"kakaolink://"];
    NSString *mypeople = [NSString stringWithFormat:@"%@",@"myp://"];
    NSString *line = [NSString stringWithFormat:@"%@",@"line://"];
     
    BOOL isInstalledKakaoTalk = [[UIApplication sharedApplication]
        canOpenURL:[NSURL URLWithString:kakaotalk]];

    BOOL isInstalledMyPeople = [[UIApplication sharedApplication]
        canOpenURL:[NSURL URLWithString:mypeople]];

    BOOL isInstalledLine = [[UIApplication sharedApplication]
        canOpenURL:[NSURL URLWithString:line]];
 
}


[참고]

카카오톡 http://www.kakao.com/services/api/kakao_link

마이피플 http://dna.daum.net/apis/urlscheme/ref#bm_us_myp

라인 http://media.line.naver.jp/howto/en/


?

List of Articles
No. Category Subject Author Date Views
321 Develop [c] 문자열 처리(문자열 자르기) hooni 2003.04.23 8667
320 Develop [c] 문자열 처리 관련 함수들 설명 hooni 2003.04.23 8017
319 Develop [c] 문자열 정렬 함수 qsort() hooni 2003.04.23 8277
318 Develop [c] 문자열 자르는 함수(strtok) 예제 hooni 2013.04.23 12228
317 Develop [c] 문자열 라이브러리 최신버전 file hooni 2003.04.23 7225
316 Develop [c] 문자열 뒤집기 초간단 샘플 코드 ㅎㅎ hooni 2013.04.23 7136
315 Develop [c] 문자열 뒤집기 (문자열 거꾸로 출력하는 간단소스) hooni 2003.04.23 10061
314 Develop [c] 문자열 str_shift 예제.. file hooni 2013.04.23 6862
313 Develop [c] 무선 Radius Server 자료.. file hooni 2013.04.23 7284
312 Develop [c] 메시지큐(Message Queue) 설명.. (joinc) hooni 2013.04.23 14310
311 Develop [c] 메세지 프로그램 (Server - Agent - Client) file hooni 2013.04.23 6481
310 Develop [c] 맵서치인 듯(옛날 컴에서 찾은 자료) file hooni 2013.04.23 6920
Board Pagination Prev 1 ... 67 68 69 70 71 72 73 74 75 76 ... 98 Next
/ 98