Contents

조회 수 1558 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

# 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
    // 스크린캡쳐후 처리
}


?

  1. GPL, AGPL, MPL,.. 한눈에 보는 오픈소스SW 라이선스

  2. [web] 더 빠른 웹을 위한 프로토콜, 'HTTP/2'

  3. [android] 가속도 센서를 이용한 흔듦(Shake) 감지

  4. [ios] 스크린 캡쳐 (전원버튼 + 홈버튼) 호출 알아내기

  5. [ios] 비동기 블럭 코드 예제

  6. ZBar 라이브러리를 이용한 바코드 스캔 앱 개발하기

  7. [java] netty (비동기 이벤트 방식 네트워크 프레임워크) 사용법 #1 (server)

  8. [java] netty (비동기 이벤트 방식 네트워크 프레임워크) 사용법 #2 (client)

  9. [android] 안드로이드 동영상 스트리밍 예제

  10. [ios] UIWebView를 이용한 로컬 HTML 파일 표시

  11. [ios] UIView 계층구조

  12. [ios] Thread Loop 내에서 UI 업데이트 방법

Board Pagination Prev 1 ... 52 53 54 55 56 57 58 59 60 61 ... 71 Next
/ 71