Contents

조회 수 1552 댓글 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. [java] netty (비동기 이벤트 방식 네트워크 프레임워크) 사용법 #1 (server)

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

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

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

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

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

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

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

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

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

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

  12. [js] 좋은 강연자료 & UI 자료

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