Post

Replies

Boosts

Views

Activity

Reply to Simple VideoPlayer not working
I'm seeing a similar issue with AVPlayer as well. Although, in my case when using an iOS 14 simulator the video images are displayed. Below describes what I've found. I filed an Apple bug report on this issue (FB8780527). Audio is heard, rate state is working, and video info is available, but the video images are not showing during playback on some iOS/iPadOS 14 devices. This issue is limited to iOS/iPadOS 14+. The issue does not occur on iOS 13 or lower. It is only reproducible on specific devices (like the iPad Pro 12.9" and iPhone 11 Pro), but not on others (like the iPhone SE and iPhone 6s). Not all videos have a problem even on the same device, same app and account. The videos with the problem work elsewhere, such as on a Mac after having pulled the video file from the device, or as stated previously on an iPhone SE with iOS 14.0.1 in the app for the same video, implying there is nothing wrong with the videos. When running the Xcode 12.0.1 debugger for the app debug configuration there are no errors being output by the Apple AVFoundation framework, or others, when loading, starting and playing the video. When this issue occurs, the PIP functionality doesn’t work. i.e.: tapping the PIP button does nothing From adding some NSLogs in my observeValueForKeyPath:ofObject:change:context: method when the AVPlayerItemStatus changes to AVPlayerItemsStausReadyToPlay the AVPlayerItem.presentationSize and AVPlayerLayer.videoRect are at this point CGSizeZero, whereas the AVPlayerLayer.bounds.size is non-zero. e.g.: (640, 306)
Oct ’20
Reply to UIPageViewController: handling odd number of pages with spine location set to mid
Our customers are infrequently experiencing something similar with our app, which also uses the UIPageViewController, when attempting a page turn past the last page: 'NSInvalidArgumentException: The number of view controllers provided (0) doesn't match the number required (1) for the requested transition' It looks like UIPageViewController sometimes initiates a page transition even though it receives a nil value (no more pages) from the delegate pageViewController:viewControllerAfterViewController: data source message. We haven't been able to reproduce this, and I tried your steps but didn't have any luck. From our Apple crash reports this issue seems to have increased by a factor of 10 for our customers running on iOS 13.3+. Perhaps this is an iOS bug.
Jun ’20