Contents

조회 수 2597 댓글 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. [ios] UIWebView를 이용한 로컬 HTML 파일 표시

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

  3. CentOS 에서 Cacti 설치하기

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

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

  6. [svn] 하나의 SVN에서 멀티 저장소 (One svnserve, multiple repositories)

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

  8. iptime 공유기 해킹 기술문서

  9. [svn] Can't convert string from native encoding to 'UTF-8' 메시지가 나오는 경우

  10. [svn] SVN trunk 변경사항 되돌리기 (SVN Rollback)

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

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

Board Pagination Prev 1 ... 17 18 19 20 21 22 23 24 25 26 ... 99 Next
/ 99