tvos

Is it possible for an Apple Watch app to interact with Apple TV?

蹲街弑〆低调 提交于 2020-08-08 06:21:47
问题 I'm searching for a solution or even a clue about the possibility of sharing data, sending signal etc, between Apple Watch app and Apple TV app. In my case, I have an app that makes some calculations using the Apple Watch and I want those calculations to have an influence on the Apple TV app interface. If not - Can I achieve it? via: Apple Watch -> iPhone -> Apple TV? Thanks Ariel 回答1: I'm not sure if there's a way to directly communicate between Apple TV and Apple Watch, but you can

Failed to get video thumbnail from AVPlayer using Fairplay HLS

只愿长相守 提交于 2020-08-06 06:27:53
问题 I'm trying to build a custom progress bar for a video player app in tvOS, and would like to show thumbnails of the video while the user scans the video. I'm using AVPlayer and Fairplay HLS to play remote video files. I've tried to do this using 2 methods. One with AVAssetImageGenerator 's copyCGImage , and the other with AVPlayerItemVideoOutput 's copyPixelBuffer method. Both return nil. When I tried with a local video file, the first method worked. Method 1: let imageGenerator =

Is Sign in with Apple (SIWA) supported in the tvOS simulator?

喜夏-厌秋 提交于 2020-07-23 04:58:08
问题 I have enabled the entitlements for SIWA in the project target. And the same steps are working fine in the iOS simulator. I am facing the following issue while trying to Sign in with Apple (SIWA) on the tvOS simulator. Steps to reproduce the issue: Upon requesting for SIWA on custom button tap, a full-screen layover displayed for the password of apple id (No option for choosing email relay was given) (screenshot attached in the last for reference) Upon entering the correct password I get the

Is Sign in with Apple (SIWA) supported in the tvOS simulator?

青春壹個敷衍的年華 提交于 2020-07-23 04:57:05
问题 I have enabled the entitlements for SIWA in the project target. And the same steps are working fine in the iOS simulator. I am facing the following issue while trying to Sign in with Apple (SIWA) on the tvOS simulator. Steps to reproduce the issue: Upon requesting for SIWA on custom button tap, a full-screen layover displayed for the password of apple id (No option for choosing email relay was given) (screenshot attached in the last for reference) Upon entering the correct password I get the

Is Sign in with Apple (SIWA) supported in the tvOS simulator?

一曲冷凌霜 提交于 2020-07-23 04:56:42
问题 I have enabled the entitlements for SIWA in the project target. And the same steps are working fine in the iOS simulator. I am facing the following issue while trying to Sign in with Apple (SIWA) on the tvOS simulator. Steps to reproduce the issue: Upon requesting for SIWA on custom button tap, a full-screen layover displayed for the password of apple id (No option for choosing email relay was given) (screenshot attached in the last for reference) Upon entering the correct password I get the

UIButton blocking touchesBegan and touchesMoved

◇◆丶佛笑我妖孽 提交于 2020-07-13 15:36:25
问题 I'm writing an app for tvOS - and it all works until I put a UIButton on the screen. The problem, when buttons are added, is that touchesBegan and touchesMoved stop working. If I remove the buttons then touchesBegan and touchesMoved start working correctly again. I have tried, in the interests of experimentation, unchecking 'User Interaction Enabled' - but this didn't make any difference. I have also tried subclassing UIButton and adding the following code: - (void)touchesBegan:(NSSet *