

The tool bar contains a Preview button that will create the PDF and open a view controller with a PDFView to show the flyer. You’ll see a form to enter the information to create the flyer. Open the starter project, then build and run the app. Here’s how the flyer will look:īegin by using the Download Materials button at the top or bottom of the page. Once the user has selected an image, a preview of that image will appear. The app allows the user to enter the information for the flyer and select a photo either from the photo library or from the camera.

The flyer will contain a title, image, body text and several tear-off tabs at the bottom. In this tutorial, you’ll build an app to create a simple flyer. The coordinates originate at the bottom left of the page and increase going upward and to the right. The page uses a coordinate system with 72 points to each printed inch. Each page contains text, images, hyperlinks and/or annotations. The specification also allows simple password protection to restrict access and printing.Ī PDF document contains pages corresponding to the pages of a printed document. The file may include metadata that provides information about the document. Getting StartedĪ PDF document consists of a single file ending in the. Familiarity with Core Text and Core Graphics will be useful but isn’t required. You should have a basic understanding of iOS app development before proceeding. In this tutorial, you’ll build an app that creates a simple flyer as a PDF based on information the user enters. While the most common use of PDFKit is adding the ability to view PDF documents to an app, you can also use it to create and change PDF files. It provides libraries to display, create and manipulate PDF documents. For many apps, creating a PDF adds value for the user. This standard allows you to create electronic documents that look like printed documents.

Adobe invented the PDF format, but it’s now an open standard that defines a document containing text, images and interactive elements. A PDF document acts as a bridge between online and printed documents.
