Develop
2014.11.19 14:46
[ios] 스크린 캡쳐 (전원버튼 + 홈버튼) 호출 알아내기
조회 수 1690 댓글 0
# 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 // 스크린캡쳐후 처리 }
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
741 | Develop | [doc] mfc 매뉴얼 다운 받아서 완성하기.. ㅋㄷ | hooni | 2013.04.23 | 7724 |
740 | System/OS | [doc] TCP/IP 강의 자료 (html) | hooni | 2013.04.23 | 11270 |
739 | Develop | [doc] UI개발시 유용한 소프트웨어 (개발 및 디버깅 툴) | hooni | 2013.04.23 | 12953 |
738 | System/OS | [doc] 네트워크 장비와 라우터 설정 방법 발표 자료 | hooni | 2013.04.23 | 14582 |
737 | PPT | [doc] 논문.. VoIP 관련.. ㅋㅋ | hooni | 2013.04.23 | 17141 |
736 | System/OS | [doc] 레드햇 리눅스 메뉴얼 (html버전) | hooni | 2013.04.23 | 10533 |
735 | PPT | [doc] 발표 자료 ㅎㅎtalk4neo | hooni | 2013.04.23 | 21055 |
734 | PPT | [doc] 방송통신공학회 논문지(학술대회) | hooni | 2013.04.23 | 13979 |
733 | Etc | [doc] 웜 프레임워크 검증환경 구축(작성중..) | hooni | 2013.04.23 | 16083 |
732 | PPT | [doc] 위탁과제 제안서와 발표자료(pdf) | hooni | 2013.04.23 | 12597 |
731 | Develop | [doc] 유료 방송 제어 시스템 (CAS) 발표자료 | hooni | 2013.04.23 | 8547 |
730 | PPT | [doc] 인공지능 관련 자료(채팅로봇도 포함..) | hooni | 2013.04.23 | 18065 |