views:

334

answers:

1

im trying to get a UITextView to Clear like a UITextField does cant seem to get this I making a app that need to clear after tapping send much like a email or tweet with several lines of text. any code would be great thanks so very much

A: 

What about adding a button and then:

- (IBAction)clearField:(id)sender
{
    textView.text = @""; // textView is of type UITextView
}
Adrian Kosmaczewski