Develop
2014.11.19 14:46
[ios] 스크린 캡쳐 (전원버튼 + 홈버튼) 호출 알아내기
Views 1650 Comment 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 // 스크린캡쳐후 처리 }
-
[mac] OS X 요세미티 사용자가 많이 겪는 버그와 몇몇 불편사항
-
[ios] 스크린 캡쳐 (전원버튼 + 홈버튼) 호출 알아내기
-
[ios] binary를 C코드로 변환
-
OpenSSL로 ROOT CA 생성 및 SSL 인증서 발급하기
-
[mysql] MacOS에 MySQL 설치, 설정, 암호 재설정
-
IT감사 기법 시험
-
[android] 레이아웃 사이즈 변경 (동적; programmatically)
-
[linux] wget 명령 사용 예제
-
How to Test SMTP AUTH using Telnet
-
네트워크 용어 정리
-
What is difference between Get, Post, Put and Delete?
-
[swift] popToRoot 모달뷰, 네비게이션컨트롤러 한꺼번에 닫기