Post

Replies

Boosts

Views

Activity

Comment on PDFKit PDFPage.characterBounds(at:) returns incorrect coordinates iOS 18 beta 4
Hi, iOS 18.3. beta 3 does not fix the bug. My further testing shows this is likely a PDFKit bug, not a lower-level Core Graphics bug. Tested with GCPDFScanner, resulting in the correct text and text-ordering on both iOS 17 and iOS 18. While PDFKit shows the bug on iOS 18. Preview on macOS 15.2 shows issues, too. If I use PSPDFKit's PDF Viewer on macOS 18.2 I get correct results. How can I help any further to get these bugs fixed eventually!?
1d
Comment on iOS 18.x PDFKit Page.string and Page.attributedString return some text way out of oder
I realised that you can easily reproduce this exact same behaviour as described in FB16313297 (Page.string) and FB16313295 (Page.attributedString) by opening the provided sample .pdf file once on macOS 13 (or macOS 14) with Preview App, and copy the text from the PDF into a txt file, which results in a "correct" behaviour, and once on a macOS 15.x with Preview, which shows the "wrong" results, that is the words "A litte" show up way of the location in the text sequence from where it should be.
5d
Comment on Simulator beta 15 is too slow
I had the same problem - a very slow simulator, launching an app took minutes. I guess the reason has been a conflict between Xcode 14.3.1 and Xcode 15 RC on the same machine with two different iOS 16 simulator platforms installed. The one has been the built-in iOS 16 simulator that comes with Xcode 14.3.1. The other has been a downloaded iOS 16 simulator platform on Xcode 15 RC. As soon as I deleted the downloaded iOS 16 platform in Settings/Platforms in Xcode 15 RC the troubles were gone.
Sep ’23