0
Ich möchte meine geografische Länge und Breite auf dem iPhone in Ziel C bekommen. Kann mir jemand helfen, diese Koordinaten programmatisch zu bekommen?iPhone GPS Location
#import <Foundation/Foundation.h>
@class CLLocationManager;
@interface CLLocationController : NSObject {
CLLocationManager *locationManager;
}
@property (nonatomic, retain) CLLocationManager *locationManager;
@end
Wenn ich über Code zu schreiben ist, zeigt mir folgende Fehler
/Hab/Folder/Classes/CLLocationController.m:10:30: error: CLLocationManager.h: No such file or directory
/Hab/Folder/Classes/CLLocationController.m:21: warning: receiver 'CLLocationManager' is a forward class and corresponding @interface may not exist
/Hab/Folder/Classes/CLLocationController.m:22: error: accessing unknown 'delegate' component of a property
developer.apple.com die Dokumentation lesen – marcc