• 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
PDFView not rendering pages on scroll
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PDFView not rendering pages on scroll


  • Subject: PDFView not rendering pages on scroll
  • From: Martin Hewitson <email@hidden>
  • Date: Sat, 02 Nov 2013 08:00:38 +0100

Dear list,

I have an app which uses a PDFView to display (not surprisingly) a PDF. If I compile the app with the 10.9 SDK then I see two new 'features':

1) I implement -drawPagePost: in my PDFView subclass to draw my own highlight/focus ring around the PDF pages. This does not get updated when scrolling whereas it did in previous SDKs

2) When the app is run on 10.6.8 only the pages visible when the document loads are rendered. On scrolling, the other pages are not rendered.

I’ve tried implementing

+(BOOL) isCompatibleWithResponsiveScrolling {
	return NO;
}

in my PDFView subclass, but this doesn’t help. I’ve tried disabling various bits of code in my subclass, but so far nothing helps.

I can workaround 1) by listening for bounds changes on the enclosing scroll view’s content view then call  -setNeedsDisplay:.

I have found no workaround for 2).

Anyone got any ideas?

Martin
_______________________________________________

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: PDFView not rendering pages on scroll
      • From: Martin Hewitson <email@hidden>
  • Prev by Date: Re: Crash in 10.9 decoding NSAttributedString
  • Next by Date: Re: Crash in 10.9 decoding NSAttributedString
  • Previous by thread: Re: Crash in 10.9 decoding NSAttributedString
  • Next by thread: Re: PDFView not rendering pages on scroll
  • Index(es):
    • Date
    • Thread