title: iOS - searching and replacing on a PDF
body: <p>I have to create a PDF file based on a template. My idea is to build that template with placeholders like "text1", "text2", etc. This template would be saved to a PDF file and put on the app bundle.</p>
  
  <p>At run time, the template would be copied to a new PDF context and then I would search for the placeholders, replacing them with the real text I want.</p>
  
  <p><a href="https://stackoverflow.com/questions/1333710/how-to-edit-a-pdf-in-objective-c">I have found this page</a>, showing how to create a new PDF from a template and <a href="http://blog.random-ideas.net/?p=184" rel="nofollow noreferrer">this one</a> on how to search on the PDF.</p>
  
  <p>The question now is: how do I replace stuff (texts or images) on the new PDF?</p>