I am using UITextView
to display the NSAttributedString (Which Contains NSTextAttachment
and HTML
tables using NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType
).
When I scrolling the UITextView
at half of the screen the texts are disappearing.
Can any one explain how it happens? and how to resolve it?
UITextView *textView = [[UITextView alloc]init];
textView.frame = CGRectMake(0, 0, 768, 1024);
textView.editable = NO;
textView.selectable = NO;
textView.attributedText = attributedString; //My AttributedSting
[self.view addSubview:textView];