Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7656609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:48:37+00:00 2026-05-31T12:48:37+00:00

I have a PDF document that comes from server and i would want it

  • 0

I have a PDF document that comes from server and i would want it to display it upon the UIPageViewController on iPad in order to give it a nice page curling effect .The Only way I could think of is to split the PDF into pages and then use each page as a separate view controller.Do any one know how could i do that?.What do you recommend ,splitting pdf into a set of pdfs or a pngs.I am not afraid with CGPdfPageRef so I might not use UIWebview.
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T12:48:38+00:00Added an answer on May 31, 2026 at 12:48 pm

    Your idea is absolutely correct.

    UIPageViewController can work with a datasource (just like a table view controller).
    It takes a UIViewController object as each page.

    So the idea is, page view controller’s datasource creates CGPDFDocumentRef from your pdf file path/url, fetches each page CGPDFDocumentGetPage(pdfDocRef, pageNumber) creates a view controller object which can render this page and returns it via datasource methods.

    You’ll get a lot of documentation/code to help you with rendering a CGPDFPageRef in your view. Its pretty easy.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the text from a PDF document available to me, and I want
The Situation: I have a pdf document that includes hyperlinks. I would like my
I have a PDF document that needs to be pulled up in the browser,
I have a touch screen kiosk that displays a webpage and a pdf document.
I have a PDF document that I just received via file upload (InputFile). I'd
I have a PDF document that represents a print form that is normally filled
I have a PDF document that has an owner password set but no user
We have windows server 2008. Whenever we try to fax a PDF document using
The requirement is : I have an existing PDF document. And I want to
I have an XML document that has an encoded non-XML PDF contained with in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.