im trying to get a U开发者_JAVA百科ITextView 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
What about adding a button and then:
- (IBAction)clearField:(id)sender
{
textView.text = @""; // textView is of type UITextView
}
精彩评论