search

Home  >  Q&A  >  body text

objective-c - String width calculation

I use the NSAttributedString method. When the string contains the "%" percent sign, the width calculation is incomplete. Does anyone know what the reason is?

为情所困为情所困2834 days ago594

reply all(1)I'll reply

  • 某草草

    某草草2017-05-02 09:38:56

    This is caused by the font size being too large on iOS 10

    reply
    0
  • Cancelreply