I'm working on core data project and I searched MKMapItems
not encoder < / code> I am obedient, so I'm
MKMapItem
s alignment as Dulles core data and find them again later to make directions to the destination.
I had found out about how to generate the instructions to answer the posts below, but I do not know my Latitude
& amp; Underlined Double
in a MKMapItem
. Can such a thing be done?
@ Holeks a correct direction core data to tell me solution MKMapItem the latitude / longitude can be accomplished by the following code to change the coordinates:
MKPlacemark * placemark = [[MKPlacemark alloc] initWithCoordinate: CLLocationCoordinate2DMake ([self.destinationLatitude doubleValue], [Self.destinationLongitude DoubleValue]) addressDictionary: zero]; MKMapItem * Destination = [[Mkmatmatum alloc] initWithPlacemark: placemark]; [MapItem setName: @ "The name of your location"];
No comments:
Post a Comment