如果后台返回的富文本数据在前端加载显示的字体过小的时候,在返回的富文本前添加一下代码,即可适配
NSString *headerString = @"<header><meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no'><style>img{max-width:100%}</style></header>";
[self.wkWebView loadHTMLString:[headerString stringByAppendingString:self.model.content] baseURL:nil];