IOS UITextView管理器

IOS UITextView管理器,ios,uinavigationbar,statusbar,Ios,Uinavigationbar,Statusbar,! 看起来泄漏是由undomanager引起的,但我没有向任何undomanager注册textview 顺便说一下,我正在使用ARC,第二个视图控制器的textView属性为:@property(非原子,强)UITextView*descriptionTextView textView在viewDidLoad中初始化为: self.descriptionTextView = [[UITextView alloc]initWithFrame:CGRectMake(5, self.titleTex

!

看起来泄漏是由undomanager引起的,但我没有向任何undomanager注册textview

顺便说一下,我正在使用ARC,第二个视图控制器的textView属性为:
@property(非原子,强)UITextView*descriptionTextView
textView在viewDidLoad中初始化为:

self.descriptionTextView = [[UITextView alloc]initWithFrame:CGRectMake(5, self.titleTextField.frame.origin.y + self.titleTextField.bounds.size.height + 10, 310, self.view.bounds.size.height - 214 - 40 - 10 - 14 - self.titleTextField.frame.origin.y - self.titleTextField.bounds.size.height)];
self.descriptionTextView.layer.cornerRadius = 0;
self.descriptionTextView.editable = YES;
self.descriptionTextView.userInteractionEnabled = YES;
self.descriptionTextView.layer.borderColor = [kColor_MainColor CGColor];
self.descriptionTextView.font = [UIFont fontWithName:@"ArialMT" size:18.0f];
self.descriptionTextView.contentInset = UIEdgeInsetsZero;
self.descriptionTextView.scrollEnabled = YES;
self.descriptionTextView.textColor = [UIColor colorWithRed:80/255.0 green:80/255.0 blue:80/255.0 alpha:1.0];
self.descriptionTextView.backgroundColor = [UIColor whiteColor];
self.descriptionTextView.delegate = self;

您没有向撤消管理器注册文本视图,系统会为您注册,因此用户可以摇动以撤消或选择键盘上的撤消按钮。那么如何解决此漏洞?我在delloc中尝试了removeAllActions之类的代码,但没有成功。这可能是系统内部的错误。这将不是苹果框架第一次出现漏洞。如果您发现您无法以任何其他方式解决问题,请确保与Apple一起打开错误报告,让他们知道。