Post

Replies

Boosts

Views

Activity

iPhone 14 strange landscape size classes
According to the HIG documentation, the iPhone 14 landscape size classes are really strange. https://developer.apple.com/design/human-interface-guidelines/foundations/layout/ Why the iPhone 14 and iPhone 14 Pro portrait and landscape orientation size classes are the same as compact width and regular height? And I tested it on Xcode, the landscape size classes of iPhone 14 and iPhone 14 Pro should be compact width and compact height. But the landscape size classes of iPhone 14 Pro Max is still wrong, the setting of compact height is not match for the iPhone 14 Pro Max. Is it a bug of Xcode? I think it should check out.
2
0
1.4k
Sep ’22
AVPictureInPictureController.isPictureInPictureSupported() is false on iOS 14
I'm using AVPictureInPictureController.isPictureInPictureSupported() to detect PiP feature is supported on the device. It's working on iPadOS 13 and 14. As we know that, iOS 14 is supporting PiP on iPhone. I'm using the same code but it returns false. And I try AVPictureInPictureController(playerLayer: playerLayer).isPictureInPicturePossible, it returns nil. I tested it on iOS 14 beta 1 and beta 2, iPhone X on simulator, it still the same. I also see that the PiP button is also not shown on Safari HTML5 video playback. How to make it work on iOS 14? Or how to enable for it?
8
0
4.3k
Jul ’20