GoogleNavigation Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSReverseGeocodeResponse
@interface GMSReverseGeocodeResponse : NSObject <NSCopying>
A collection of results from a reverse geocode request.
-
Returns the first result, or nil if no results were available.
-
Returns an array of all the results (contains GMSAddress
), including the first result.
Declaration
Objective-C
- (nullable NSArray<GMSAddress *> *)results;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSReverseGeocodeResponse\u003c/code\u003e stores the results obtained from a reverse geocode request.\u003c/p\u003e\n"],["\u003cp\u003eIt provides access to the first result through the \u003ccode\u003efirstResult\u003c/code\u003e method, returning a \u003ccode\u003eGMSAddress\u003c/code\u003e object or nil if no results are found.\u003c/p\u003e\n"],["\u003cp\u003eAll results, including the first one, can be accessed as an array of \u003ccode\u003eGMSAddress\u003c/code\u003e objects using the \u003ccode\u003eresults\u003c/code\u003e method.\u003c/p\u003e\n"]]],["The `GMSReverseGeocodeResponse` class provides results from a reverse geocode request. It offers two main functionalities: `firstResult` which returns the initial `GMSAddress` result, or nil if none exist. Additionally, `results` provides an array containing all `GMSAddress` objects from the request, inclusive of the initial one. Both methods can return nil if no result are present, or an array of `GMSAddress`.\n"],null,["# GoogleNavigation Framework Reference\n\nGMSReverseGeocodeResponse\n=========================\n\n @interface GMSReverseGeocodeResponse : NSObject \u003cNSCopying\u003e\n\nA collection of results from a reverse geocode request.\n- `\n ``\n ``\n `\n\n ### [-firstResult](#/c:objc(cs)GMSReverseGeocodeResponse(im)firstResult)\n\n `\n ` \n Returns the first result, or nil if no results were available. \n\n #### Declaration\n\n Swift \n\n func firstResult() -\u003e ../Classes/GMSAddress.html?\n\n Objective-C \n\n - (nullable ../Classes/GMSAddress.html *)firstResult;\n\n- `\n ``\n ``\n `\n\n ### [-results](#/c:objc(cs)GMSReverseGeocodeResponse(im)results)\n\n `\n ` \n Returns an array of all the results (contains [GMSAddress](../Classes/GMSAddress.html)), including the first result. \n\n #### Declaration\n\n Swift \n\n func results() -\u003e [../Classes/GMSAddress.html]?\n\n Objective-C \n\n - (nullable NSArray\u003c../Classes/GMSAddress.html *\u003e *)results;"]]