Closed defagos closed 3 years ago
We should also check whether cell prefetching does not collide with our (small) usage of visible cells.
Compilation issues with SPM are a documented change and we probably have to do something, as said in the Xcode 13 beta release notes:
Linking Swift packages from application extension targets or watchOS applications no longer emits unresolvable warnings about linking to libraries not safe for use in application extensions. This means that code referencing APIs annotated as unavailable for use in app extensions must now themselves be annotated as unavailable for use in application extensions, in order to allow that code to be used in both apps and app extensions. (66928265)
Airship delivered version 14.6.0 to fix this issue.
Work started on feature/ios15-tvos15-xcode13
. The project now compiles with beta 5. š
The navigation bar issue is likely due to the use of tricks. I remember Marco Arment talking about such issues with Overcast on iOS 15. Fortunately migration to the iOS 13 API fixes the issue, and we already did it on a feature branch (#151). I'll cherry-pick this implementation on the branch associated with the present issue.
We did everything we could, reported remaining issues to Apple, and identified other behaviors as part of OS changes which we must accept.
Hi @defagos, sorry to slide into this issue! But may you still know how you fixed the "Attempted to scroll the collection view to an out-of-bounds item" error? It seems to happen randomly in one of my test projects and the cell structure looks fine. Thanks in advance!
Hi @hansemannn. Sure, I do remember. We use a small Objective-C method wrapper to trap the exception that may be thrown by the scrolling method.
Here is the list of the issues found with the current betas:
[x] Assertion failure on the program guide when attempting to scroll to a location outside the visible range, e.g. 5 PM. As a result the table jumps, something not visible with a nightly built with iOS 14 and run on 15. Probably related to the new cell prefetch mechanism. The relevant error is:
Also see https://github.com/SRGSSR/srgmediaplayer-apple/issues/104 and https://github.com/SRGSSR/srgletterbox-apple/issues/249 (ā : Fixed)
We should also use new APIs available since iOS and tvOS 15: