[MonoTouch] Location found detection
Mittchel debaass
mittchel at gmail.com
Mon Dec 19 07:56:21 EST 2011
Hello everyone,
Currently I'm building an application which shows nearby advertisements
based on the current location. When the user starts the application for the
first time I want them to see a top 10 of nearby advertisements.
I'm having a slight problem with fetching the location on time. My problem
is that the current location isn't fetched yet before the view is loaded.
Of course there is the delegate UpdatedLocation, but this one gets fired
multiple times. I guess it fires multiple times, because it wants to fetch
the most accurate location?
So my question is; What can I do to 'wait' until the location is found and
then start searching for advertisements?
Thanks in advance!
Regards,
Mittchel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111219/29370f63/attachment.html
More information about the MonoTouch
mailing list