我有以下NSArray
:從iOS中的數組獲取字典值?
(
{
geometry = {
location = {
lat = "37.789632";
lng = "-122.417004";
};
};
icon = "http://maps.gstatic.com/mapfiles/place_api/icons/doctor-71.png";
vicinity = "900 Hyde Street, San Francisco";
},
{
geometry = {
location = {
lat = "37.794774";
lng = "-122.398941";
};
};
icon = "http://maps.gstatic.com/mapfiles/place_api/icons/lodging-71.png";
vicinity = "2 Embarcadero Center, San Francisco";
}
)
從這個我怎麼能得到各指標的latitude
和longitude
?
這與Xcode無關。 – 2012-12-24 11:37:06