Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 NSAtributedString 中应用手动分页符?
例如,我想在一章结束后有一个分页符。
在您的字符串中使用\n以开始新行。
\n