Contents

조회 수 1647 댓글 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. IT감사 기법 시험

  2. How to Test SMTP AUTH using Telnet

  3. [linux] wget 명령 사용 예제

  4. [mysql] MacOS에 MySQL 설치, 설정, 암호 재설정

  5. [android] 레이아웃 사이즈 변경 (동적; programmatically)

  6. OpenSSL로 ROOT CA 생성 및 SSL 인증서 발급하기

  7. [ios] binary를 C코드로 변환

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

  9. 무료로 HTTPS 적용하기 (Let's Encrypt)

  10. [mac] OS X 요세미티 사용자가 많이 겪는 버그와 몇몇 불편사항

  11. [python] 파라미터 앞에 *, ** 의 의미? (*args, **kwargs)

  12. [ios] Swift 4 Singleton inheritance

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