ios 화면보호기1 ios 화면보호기 & 터치 감지하기 ios 화면보호기 & 터치 감지하기 목표 iOS UIWindow에서 터치를 감지한 후 일정시간 터치가 없으면 화면보호기 viewcontroller 띄워주는 기능 구현 순서 *공통상수클래스 제작- CommonValues 설명: 화면보호기 시간을 설정해준다. #import @interface CommonValues : NSObject @property(nonatomic,assign) int SAVER_TIME; //화면보호기 시간 @end #import "CommonValues.h" @implementation CommonValues @synthesize SAVER_TIME; - (instancetype)init { self = [super init]; if (self) { SAVER_TIME = 3; //.. 2019. 4. 5. 이전 1 다음