Get HTML in UITextView

前端 未结 3 1166
天涯浪人
天涯浪人 2021-02-06 05:47

I display html in UITextView by:

[self.textView setValue:@\"Content\" forKey:@\"contentToHTMLString\"];,

After edit

3条回答
  •  情书的邮戳
    2021-02-06 06:15

    NSString *htmlContentString = self.compnayInfoPageDictionary[@"tDescription"];
    
    [self.txtViewInfoPage setValue:htmlContentString forKey:@"contentToHTMLString"];
    

提交回复
热议问题