A short Cocoa Touch post as I could not immediately find the solution on the internets.
I wanted the cursor to be at the beginning of a UITextView when the user taps anywhere in that text view. The straightforward approach of doing it in the delegate does not work and I found a couple of posts saying so.
It turns out that performSelector:withObjects:afterDelay is your friend: