Zapisz CLLocationCoordinate2D na NSUserDefaults
Jestem nowy w rozwoju iPhone'a i chcę go przechowywaćCLLocationCoordinate2D
oponowaćNSUserDefaults
. Próbuję
[defaults setObject:location forKey:@"userLocation"];
Ale to daje błąd„Wysyłanie CLLocationCoordinate2D do parametru niezgodnego identyfikatora typu”
Więc jak przechowywaćCLLocationCoordinate2D
wNSUserDefaults
? Dzięki.