• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem with CGPDFPageRef
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with CGPDFPageRef


  • Subject: Problem with CGPDFPageRef
  • From: Development <email@hidden>
  • Date: Wed, 2 Jun 2010 13:11:01 -0700

Ok this is bizarre and it's been happening in several apps of mine and I don't understand it.
I'm getting scrambled variable data. For instance I pass a float 'float' with a value of 1.0 and the receiver gets some weird number like 345783653.0.

Most recently what is happening has me completely perplexed.
I load a pdf file.
I render the first page.
I then render the second page.
Now if I attempt to get the first page again the app crashes.

So I logged the PDFPageRef and its not what it should be, what I get back is a CALayer. I have no clue how this could be happening but the page is lost. Even if I try again to get the page from the document its a CALayer and if I attempt to log the document then the app crashes with nothing but EXC_BAD_ACCESS

Can any one help with this?_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Problem with CGPDFPageRef
      • From: David Duncan <email@hidden>
  • Prev by Date: app crashing, some errors in console are related to drawing of UI elements
  • Next by Date: Re: Mail Frameworks
  • Previous by thread: app crashing, some errors in console are related to drawing of UI elements
  • Next by thread: Re: Problem with CGPDFPageRef
  • Index(es):
    • Date
    • Thread