Get detailed location information from lat/long pair

Pass a street address and get a list of search results back.

func search(using address: String) {
    guard let currentLocation = mapView.userLocation?.coordinate else {
        return
    }

    let request = TGSearchRequest(singleLine: address, location: currentLocation, searchExtent: nil, suggestionKey: nil)

    TGFindService.search(with: request) { (response) in
        let results = response.results
        // do something with results
    }
}
- (void)searchUsingAddress:(nonnull NSString *)address {
    MGLUserLocation *currentLocation = self.mapView.userLocation;
    if (currentLocation == nil) {
        return;
    }

    TGSearchRequest *request = [TGSearchRequest.alloc initWithSingleLine:address location:currentLocation.coordinate searchExtent:nil suggestionKey:nil];

    [TGFindService searchWithRequest:request completionHandler:^(TGSearchResponse * _Nonnull response) {
        NSArray<TGSearchResult *> *results = response.results;
        // do something with results
    }];
}
Check out the iOS Reference App to see this example in action.

Look for example 302 in the app.