Two GooglePlaceAutocomplete Buttons in a single view controller

I have two UItextfields in a viewcontroller. one is pickup location and the other is drop off location. I have done the pickup location part with GMSAUtocompleteviewcontrollerdelegate method. But how can i make drop off location with same protocol GMSAUtocompleteviewcontroller delegate. I do not know how to do it. If i give same method tu drop off location the same method goes to pickuplocation. I do not know how to use it with sender.tag or if i need to give protocol above class?

It looks like you have questions about iOS development. This forum is focused on the open-source Swift programming language and its core libraries, so another place like Stack Overflow would be most appropriate for your question about Appleā€™s proprietary SDKs.

Terms of Service

Privacy Policy

Cookie Policy