//Also tried using epsg:4326 for the WKT cey 03.24.10
AGSSpatialReference* wgs84 = [AGSSpatialReference spatialReferenceWithWKID:4326 WKT:@"GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137,298.257223563]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.017453292519943295]]"];
AGSPoint* denali = [AGSPoint pointWithX:69.0659000 y:-151.0074000 spatialReference:wgs84];
[locator addressForLocation:denali maxSearchDistance:0];
I tried initializing the spatial reference above with the given code. I used two different WKTs. It and the point appear to be fine. When I pass the point to the addressForLocation call, it executes and I end up in the didFailAddressForLocation function. Can anyone point out what I am doing wrong? The code block above begins on line 68 of AGSAddressCandidateViewController.m .