GMSNavigationAccessoryView
@protocol GMSNavigationAccessoryView <NSObject>
Protocol defining methods that support custom views specifying accessory UI elements applied to the primary view. Accessory views must implement this protocol in order to be visible.
-
Declaration
Swift
func heightForAccessoryViewConstrained(to size: CGSize, on mapView: GMSMapView) -> CGFloat
Objective-C
- (CGFloat)heightForAccessoryViewConstrainedToSize:(CGSize)size onMapView: (nonnull GMSMapView *)mapView;
Return Value
Desired height of the accessory view constrained to the given
size.