iOS Tip: Scrolling to the top of a UITextView

Handy tip of the day:

To scroll to the top of a UITextView, simply use the following method:

[textView setContentOffset:CGPointMake(0.0, 0.0) animated:YES];

Hope it helps!