{"id":21188155,"url":"https://github.com/dev1an/pdfkit-bug","last_synced_at":"2026-04-28T19:33:41.939Z","repository":{"id":90134911,"uuid":"112474292","full_name":"Dev1an/PDFKit-Bug","owner":"Dev1an","description":"Annoying insert page bug in iOS","archived":false,"fork":false,"pushed_at":"2017-11-29T13:25:16.000Z","size":10368,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T13:09:31.818Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dev1an.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-29T12:44:35.000Z","updated_at":"2021-08-10T13:05:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"8360cb36-d62d-4a34-9ad5-d9c2b55ba347","html_url":"https://github.com/Dev1an/PDFKit-Bug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FPDFKit-Bug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FPDFKit-Bug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FPDFKit-Bug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FPDFKit-Bug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dev1an","download_url":"https://codeload.github.com/Dev1an/PDFKit-Bug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243640710,"owners_count":20323711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T18:42:49.595Z","updated_at":"2025-12-28T19:52:14.758Z","avatar_url":"https://github.com/Dev1an.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  PDFKit bug\n\n![screenshot](screenshot.png)\n\n## Description\nWhen a PDFDocument is presented by a PDFView and a PDFPage (containing a UIImage) is inserted programatically, the view is updated to show the new page in the document but the page is inserted upside-down in the bottom right corner and scrolling through the document suddenly becomes impossible.\n\n## Reproduction\n*— On a macOS device —*\n- Download and open the sample project from: https://github.com/Dev1an/PDFKit-Bug\n- Change the developer team\n- Run the project on a device or simulator\n\n*— In the app on the iOS device or simulator —*\n- Press the \"+\" icon in the top right corner of the screen.\n\n\n**What I get**\n\nA page containing the image is shown upside-down in the bottom right corner of the screen and it becomes impossible to scroll and/or zoom\n\n**What I expect**\n\nA page containing the image is shown in the middle of the screen, under the correct angle. Zooming and scrolling through the PDF should continue working.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev1an%2Fpdfkit-bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev1an%2Fpdfkit-bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev1an%2Fpdfkit-bug/lists"}