Iphone - UITextView Memory-leak
Posted
by Raphael Pinto
on Stack Overflow
See other posts from Stack Overflow
or by Raphael Pinto
Published on 2010-04-15T14:54:43Z
Indexed on
2010/04/16
7:53 UTC
Read the original article
Hit count: 312
I have a memory leak when i use a UITextView but I don't understand why :
UITextView *textView = [[UITextView alloc] initWithFrame:CGRectMake(20, 160, 280, 150)];
textView.text = @"Hello World";
textView.editable = FALSE;
[self.view addSubview:textView];
[textView release];
Is someone could help me? :S
© Stack Overflow or respective owner