Programmatically Edit PDFs using Swift for iOS
PSPDFDocumentEditor to rotate the first two pages and then add a new first page to the current document. Get additional resources by visiting our guide on PDF Editor API Usage in iOS.
This code sample is an example that illustrates how to use our SDK. Please adapt it to your specific use case.