'How to add a page break to uitextview
How do you add a page break to a uitextview, just like with google docs, Microsoft word, and pdf viewers? I am making an app in which there will be a text editor whose appearance is similar to that of these word processors, so I need to be able to include page breaks in the editable UITextView (I need editable blocks within the uitextview basically). How do I achieve this with SwiftUI or UIKit & Interface Builder?
Solution 1:[1]
I believe the short answer is "you don't." A UITextField is not a text editor, and I don't think it supports the concept of pages.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Duncan C |
