Packets received from the server contain html format and are displayed using NSAttributedString, but how can the font size be modified?

  ios, question

The data packet received from the server contains html format, using
NSDictionary *dict = @{NSFontAttributeName:[UIFont systemFontOfSize:24.0f]};

[[NSAttributedString alloc] initWithData:@xxxxx”” dataUsingEncoding:NSUnicodeStringEncoding] options:@{ NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType } documentAttributes:&dict error:nil];,
It doesn’t work, the font is still very small, how to solve it.

Can be usedNSString *htmlString = [NSString stringWithFormat:@"<head><style>body{font-family:arial,Helvetica; font-size:15; word-wrap:break-word; }</style></head>"];To splice to the returned string