Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 126.96.36.199 release ready!
Owner and Founder. Opencart
The autocomplete service in the Places SDK for iOS returns place predictions in response to user search queries. As the user types, the autocomplete service returns suggestions for places such as businesses, addresses and points of interest.
Here i will pick the location use the results controller.
Use a results controller when you want more control over the text input UI. The results controller dynamically toggles the visibility of the results list based on input UI focus.
1-> Add below pod with your pod file
2-> Add below code in app delegate file
3-> Create a GMSAutocompleteResultsViewController
4-> Implement the GMSAutocompleteResultsViewControllerDelegate protocol in the parent view controller.
5-> Take UISearchController object, as a result, view controller argument.
6-> Handle the user’s selection in the didAutocompleteWithPlace delegate method.
7-> Add below key with your info-plist file
The output is:- Place Address: Delhi, India
So pls follow the above step and And if you have any issue or suggestion you can leave your message in the comment section I will try to solve this.
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.