1
You have to draw text yourself in the pdf to make it editable. I have slightly modified your code, and it works. You can simply copy/paste in a new app view controller to check the result. Here is a screenshot of the document opened in AffinityDesigner. The mask is correctly applied as a layer ma...