我已经使用 Google 身份验证 API 完成了身份验证。如何将 Google 任务值访问到表视图中并继续
user1365067
问问题
94 次
1 回答
0
NSString *googleapi = [NSString stringWithString: @"https://maps.googleapis.com/maps/api/place/search/xml?location=34.0522222,-118.2427778&radius=500&types=bank&sensor=false&key=Your_API_Key"];
NSURL *googlePlacesURL = [NSURL URLWithString:googleapi];
NSData *xmlData = [NSData dataWithContentsOfURL:googlePlacesURL];
更多 >> 在 iPhone 中使用 Google Places API
编辑添加...
NSString *usergoogleapi = [NSString stringWithString:@"User_API_Key"];// change this api according to user.
NSString *googleapi = [NSString stringWithFormat: @"https://maps.googleapis.com/maps/api/place/search/xml?location=34.0522222,-118.2427778&radius=500&types=bank&sensor=false&key=%@",usergoogleapi];
希望对你有帮助...
于 2012-04-30T05:14:55.780 回答