Start one functon after another finished iphone

Posted by user295944 on Stack Overflow See other posts from Stack Overflow or by user295944
Published on 2010-03-18T04:33:02Z Indexed on 2010/03/18 4:41 UTC
Read the original article Hit count: 276

Filed under:
|

I have a function that updates the gps coordinate lat and long then sends a tweet with the lat and long info attached. I want the function to wait until the lat and long are filled before the tweet goes through but it seems to do both at the same time so the lat and long don't get filled in. How do I make the gps location update first?

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about twitter