Develop
2014.11.19 14:46
[ios] 스크린 캡쳐 (전원버튼 + 홈버튼) 호출 알아내기
조회 수 1558 댓글 0
# Objective-C
// Objective-C NSOperationQueue *mainQueue = [NSOperationQueue mainQueue]; [[NSNotificationCenter defaultCenter] addObserverForName:UIApplicationUserDidTakeScreenshotNotification object:nil queue:mainQueue usingBlock:^(NSNotification *notification) { // 스크린캡쳐후 처리 }];
# Swift
// Swift let mainQueue = NSOperationQueue.mainQueue() NSNotificationCenter.defaultCenter().addObserverForName( UIApplicationUserDidTakeScreenshotNotification, object: nil, queue: mainQueue) { notification in // 스크린캡쳐후 처리 }
-
[android] AlertDialog 메시지 창 띄우기
-
[c] 이진트리/트리 순회법 코드(전위/중위/후위)
-
정리할 자료.
-
[ios] NSNotificationCenter 초간단 사용 예~ ㅋㄷ
-
[c] 이진 탐색 두 가지 코드 (재귀/반복)
-
[c] FSN 온라인 코딩 테스트 (Sorting, Binary Search)
-
[ppt] iOS 플라랩#04(2015.06.19) 발표 자료
-
Aspect Oriented Programming in Objective-C
-
[ios] 설정에서 푸시 알림(APNS) on/off 상태 확인
-
[ios] GPS 이용 상태 확인
-
[js] jQuery, Javascript 모바일(스마트폰) 판단하는 방법
-
[js] e.stopPropagation() VS e.preventDefault ()