Closed NagiYan closed 8 years ago
Could you please how did you setup UITextView-Placeholder in your project? Or the code using UITextView.
I put the h and m files in my project, // 输入框
input = [[UITextView new] autorelease];
[containor addSubview:input];
[input mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(back).with.offset(10);
make.right.equalTo(back).with.offset(-10);
make.top.equalTo(back);
make.height.equalTo(@100);
}];
[input setText:@"placeholder"];
everywhere i user uitextview, nomatter use or not use placeholder, even uisearchbar,when delloc, crash
Did you mean the infinite recursive dealloc call?
yes!
OK, thank you for report. I'll check it soon. :smile:
@NagiYan, could you please test with new project?
where is the new version?
Not a new version. Create a new project and add UITextView+Placeholder. Does it crash?
new project is ok...
i tryed to update all my pods, it seems ok now
Cool! If it crashes again, please reopen it.
crash stack: [UITextView dealloc] [UITextView dealloc] ... ... ... [UITextView dealloc] [UITextView dealloc] [UITextView dealloc]
ios9.1 only if I put your files in my project, delloc crash, remove files then ok.