2010년 4월 23일 금요일

iphone simulator & device 구분하기

#if TARGET_IPHONE_SIMULATOR == 1

NSLog(@"simulator");

#else

NSLog(@"device");

#endif

댓글 없음:

댓글 쓰기