sgr-ksmt / PDFGenerator

A simple generator of PDF written in Swift.
MIT License
755 stars 110 forks source link

Texts are out framed #118

Open brstdev72 opened 4 years ago

brstdev72 commented 4 years ago

When we convert the UIView to pdf, texts are out-framed. See screenshot https://prnt.sc/qcynxd I'm unable to know the reason.

timgerdes93 commented 4 years ago

Try setting translatesAutoresizingMaskIntoConstraints to true. That fixed it for me