public void DidAutocomplete(AutocompleteViewController viewController, Place place) { if (PushAutocomplete) { NavigationController.PopViewController(true); } else { viewController.DismissViewController(true, null); } LblInformation.Text = $"{place.Description}\n\n{place.Attributions?.Description}"; }
public void DidFailAutocomplete(AutocompleteViewController viewController, NSError error) { if (PushAutocomplete) { NavigationController.PopViewController(true); } else { viewController.DismissViewController(true, null); } LblInformation.Text = $"Error: {error.LocalizedDescription}"; }
public void WasCancelled(AutocompleteViewController viewController) { if (PushAutocomplete) { NavigationController.PopViewController(true); } else { viewController.DismissViewController(true, null); } LblInformation.Text = "Autocompleted was cancelled"; }