Views 1556 Votes 0 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

# 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. [js] AngularJS를 소개합니다.

  2. [용어] POC, Pilot, BMT에 대한 IT 업계에서 통용되는 의미

  3. [php] 하루 전 날짜 쉽게 구하기.

  4. [php] GregorianToJD(), JDToGregorian() 함수 내용

  5. [linux] root 전환시 패스워드 없이 su 사용하기

  6. [linux] CentOS 터미널 언어 설정(한글/영어)

  7. [js] jQuery plugin 요약

  8. [css] z-index에 설정할 수 있는 최대값?

  9. [oracle] SQL문 실행 방법 3가지

  10. CentOS 6.5 USB 설치

  11. [js] 이벤트 전파 3단계

  12. [js] jQuery 치트 시트

  13. [js] 순환참조에 의한 메모리 누수 관련

  14. [js] jQjuery $ 활용

  15. [js] jQuery 충돌 회피

  16. [js] 객체 머지..

Board Pagination Prev 1 ... 20 21 22 23 24 ... 74 Next
/ 74