Hi All, I have implemented image picker which can either pick from album or take a photo with the camera. The problem I have is async nature of the ALAssetsLibrary.WriteImageToSavedPhotosAlbum() which I use to save image taken. Once user picks an image he/she might try to close the current view and next view will try to access URL of the image taken. However URL might not be know at that point as WriteImageToSavedPhotosAlbum() is quite slow! I would like to draw an animation showing "Saving image" and wait for image to be saved before view can be closed, but what is the best way to wait? I guess this question might be wider than just image saving, it appears that most of things in MT are of async/callback nature, so is there a general pattern on how you sync back?
Thank you. Andre. -- View this message in context: http://monotouch.2284126.n4.nabble.com/What-is-the-right-way-to-wait-tp4655591.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
