Develop
2014.03.10 17:55
[ios] URL Scheme 이용하여 앱 설치 확인
Views 4415 Comment 0
# 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/
-
[c] 단기과정[01/08] (다차원 + 배열)포인터, void 포인터
-
[js] 키보드 아스키 코드 확인하는 간단한 소스
-
[c#] HTML 이벤트 샘플 소스..
-
[api] 인스타그램 API Access_Token 발급 방법 (Instagram API)
-
[c#]뉴 툴바 개인적으로 만든거.. (new)
-
[ios] How To Use UIScrollView to Scroll and Zoom Content (Using Swift)
-
[doc] mfc 매뉴얼 다운 받아서 완성하기.. ㅋㄷ
-
[c] 코드 최적화에 대해..
-
[c] 프로그래밍의 전반적인 설명 ppt
-
[c] 프로그램 코드(c/c++)를 html 파일로 변환
-
[c] 구조체 배열 예제 (학생 성적 계산)
-
[c] 관계형 연산자에 대한 설명