I am adding a UITextView to a UIView programatically. The UITextView should have a clear background from the get go, but the background is animating from white to clear. How do I prevent this animation? Here is my code:
UITextView *localTextView = [[UITextView alloc] initWithFrame:CGRectMake(0, 0, 230, 60)];
localTextView.opaque = NO;
localTextView.backgroundColor = [UIColor clearColor];
localTextView.font = [UIFont fontWithName:@"Helvetica" size:14];
localTextView.userInteractionEnabled = NO;
self.textView = localTextView;
[localTextView release];
textView.text = @"Cras sit amet purus vitae libero venenatis luctus sit amet non urna. Curabitur volutpat adipis cing nulla, in lacinia eros pulvinar vitae.";
[self addSubview:textView];
Thanks for your help.