GPS (2) 리스트형 JPEG 메타데이터 얻기 (iphone-exif 라이브러리 사용) 1. indlude.zip 파일 안에는 EXIF 관련 .m .h 파일이 들어있습니다. include.zip 파일의 압축을 풀어서 프로젝트 안에 추가 시킵니다. 2. AppDelegate.m 내부에 BOOL gLogging = FALSE; 을 적어줘야 합니다. 3. EXIF를 사용할 페이지 위에 #import "EXF.h" 를 선언해 줍니다. 4. 이미지 파일을 불러와서 메타데이터를 추출 후 위도와 경도를 가져옵니다. NSString * path = [[NSBundle mainBundle]pathForResource:@"IMG_0902" ofType:@"JPG"]; NSMutableData *imageData = [NSMutableData dataWithContentsOfFile:path]; EXFJpeg.. 아이폰 GPS 사용하기 ♨ 프레임워크 추가 : CoreLocation.framework #import #import @interface LocationServiceViewController : UIViewController { CLLocationManager *locationManager; IBOutlet UILabel *latitude; IBOutlet UILabel *longitude; IBOutlet UILabel *Heading; } @property (nonatomic, retain) CLLocationManager *locationManager; @property (nonatomic, retain) IBOutlet UILabel *latitude; @property (nonatomic, retain) IBOutlet.. 이전 1 다음