Contents

Views 4410 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
885 Develop [ios] 아이폰 GPS 사용하기 hooni 2014.05.24 4046
884 Develop [android] 코드에서 문자열로 Resource 가져오기 hooni 2015.07.09 4073
883 Develop [ios] iOS 7 이상 UIBarButtonItem 여백 file hooni 2014.03.27 4099
882 Develop [ios] DatePicker iOS 6.x 이하 디자인. file hooni 2014.04.10 4124
881 Develop [ios] AES256 알고리즘을 이용해 데이터 암호화/복호화 방법 file hooni 2015.07.21 4192
880 Develop [ios] 애플 앱스토어 IDFA 리뷰 정책 변경 안내 file hooni 2014.05.07 4245
879 Develop [c#]뉴 툴바 개인적으로 만든거.. (old) secret hooni 2013.04.23 4272
878 System/OS Mac에서 Node.js 설치하기 file hooni 2018.09.28 4336
877 System/OS [mac] 맥OSX에서 NTFS 쓰기 기능 활성화 hooni 2014.03.12 4371
876 System/OS [linux] split 명령어 hooni 2014.03.11 4391
» Develop [ios] URL Scheme 이용하여 앱 설치 확인 hooni 2014.03.10 4410
874 Develop [ios] 앱딜리게이트 라이프사이클 (AppDelegate Lifecycle) file hooni 2014.05.09 4513
Board Pagination Prev 1 ... 20 21 22 23 24 25 26 27 28 29 ... 98 Next
/ 98