Contents

조회 수 1602 댓글 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. [python] 파라미터 앞에 *, ** 의 의미? (*args, **kwargs)

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

  3. [ios] Swift 4 Singleton inheritance

  4. [ios] Pod 특정 버전 설치하고 사용하기

  5. [js] 모바일 스크롤 방지(해제)

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

  7. [ios] Requesting Location Permissions in iOS

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

  9. [ios] How To Use UIScrollView to Scroll and Zoom Content (Using Objective-C)

  10. [ios] Locale Identifiers

  11. [ios] 동영상 플레이어 샘플 (for Remote Url)

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

Board Pagination Prev 1 ... 12 13 14 15 16 17 18 19 20 21 ... 98 Next
/ 98