[개발] iPod touch인지 iPhone 인지 구분하기
enum { MODEL_IPHONE_SIMULATOR, MODEL_IPOD_TOUCH, MODEL_IPHONE, MODEL_IPHONE_3G }; // 메소드 UIDevice *currentDevice = [UIDevice currentDevice]; // 무슨 기기인지??? 이거 한줄이면 되죠. NSString *iPodTouch = @"iPod touch"; NSString *iPhoneSimulator = @"iPhone Simulator"; NSString *model= [currentDevice model]; NSString *detected; if ( [model compare:iPhoneSimulator] == NSOrderedSame ) // iPhone simulator { detecte..