> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/ios/generate.md).

# Generate

- [PDF Generation Library on iOS](https://docs.apryse.com/ios/generate/create.md): Create new documents easily with our template generator. Start from scratch or use a blank PDF. Get started now for efficient document creation! The Apryse iOS SDK streamlines secure document processi
- [Generate PDF on iOS](https://docs.apryse.com/ios/generate/generate-via-template.md): Here is your guide explaining how to generate document accurately and efficiently with iOS using Apryse SDK
- [Document Generation Data Model](https://docs.apryse.com/ios/generate/generate-via-template/data-model.md): Learn about the general principles of using template keys in JSON dictionaries for document creation. Explore various formats for content values like text strings, images, and structured input. Contac
- [Document Generation Structured Input](https://docs.apryse.com/ios/generate/generate-via-template/structured-input.md): Learn about the powerful features of a template engine for structured input in HTML and markdown, including styled text, lists, hyperlinks, and headings. Contact us for feature suggestions! The Apryse
- [Document Generation Advanced Features on iOS](https://docs.apryse.com/ios/generate/generate-via-template/advanced.md): Discover advanced features for office templates, including custom tag delimiters and strict mode settings. Learn how to optimize your document creation process efficiently. The Apryse iOS SDK streamli
- [API for Document Generation via Template on iOS](https://docs.apryse.com/ios/generate/generate-via-template/apis.md): Discover the essential API functions for accessing Office template generation in iOS using Objective-C/Swift. Learn about PTConvert#CreateOfficeTemplate and PTTemplateDocument#FillTemplateJson. The Ap
- [Create a new blank PDF document on iOS](https://docs.apryse.com/ios/generate/blank.md): Documentation for creating a new blank PDF document on iOS.
- [Generate a PDF page thumbnail on iOS](https://docs.apryse.com/ios/generate/thumbnail.md): Learn how to create a PDF page thumbnail in various image formats like JPG, PNG, BMP, and TIFF. Get full code samples for converting PDF to images and saving them in PNG and JPEG formats. Explore diff
- [Code samples to create / generate PDFs on iOS](https://docs.apryse.com/ios/generate/samples.md): Learn how to merge, copy, delete, and rearrange PDF pages efficiently with this comprehensive guide. Explore methods for building, writing, and embedding elements in PDF pages, as well as searching an
- [API for PDF generation on iOS](https://docs.apryse.com/ios/generate/apis.md): Discover essential utility classes for creating PDF documents. Explore a comprehensive guide on how to optimize your PDFs effectively. The Apryse iOS SDK streamlines secure document processing and sea


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.apryse.com/ios/generate.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
