Google 認証 API を使用して認証を行いました。Google タスクの値にテーブル ビューでアクセスして続行するにはどうすればよいですか
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 に答える