Closed Rogog closed 9 years ago
viewDidLoad
(and put it in a button click handler, for example), or if that's really where it belongs then perhaps use a variable stored property to store the currently selected Place
and only show the autocomplete controller if none exists.placeSelected
is the correct callback for handling selections. Perhaps you should dismiss the autocomplete view before performing the segue as you do in your close handler? Please link a Github project with this issue if you really can't get it working.Hi
Thank you for your reply
"...or if that's really where it belongs then perhaps use a variable stored property to store the currently selected Place and only show the autocomplete controller if none exists." - How will the user be able to edit the stored location once they have set it?
Regarding point 2, will do -
Once again, thank you for your help and future feedback.
I'm afraid I'm not sure exactly what you mean by edit the stored location. I suggest if you're still having problems that you share an example project and I'll do my best to point you in the right direction.
Thank you for reading this post. Please note - I am new to programming.
I am having the following issue: http://stackoverflow.com/questions/28521605/having-issues-with-nib-from-ios-google-places-autocomplete
The xib file is loaded in a Viewcontroller under the ViewDidLoad method, I am attempting to get back to the parent ViewController, from which I came to the autocomplete ViewController. However, everytime I close the the autocomplete.xib view it reloads again because the ViewDidLoad tells it to do so in the example code kindly provided.
I don't understand how to:
Again - my apologies if this is a basic question, as mentioned - I'm new to programming.