스트리밍은 대부분의 브라우저와
Developer 앱에서 사용할 수 있습니다.
-
Updating Your App for Apple TV 4K
Learn how to update your app for Apple TV 4K, including how to take advantage of new capabilities such as retina image support, HDR video, and the new motion capabilities of the Siri Remote.
리소스
관련 비디오
WWDC21
Tech Talks
-
다운로드
Apple TV 4K takes the living room experience to a whole new level, with support for 4K resolution, P3 color, HDR video playback, the incredible A10X Fusion processor, and the updated and improved Siri Remote. Updating your app to support these new features is very straightforward. The first step is to add a 2x launch image. Until you do so, tvOS is going to run your app in compatibility mode. While you're at it, you'll also want to add 2x app icons and top shelf images.
When attached to a 4K television, UIKit will now automatically select retina assets from your asset catalogue.
You can inspect what screen scale the device is running in by inspecting the scale property of the main UIScreen. You can also determine the pixel resolution of the attached display by using the nativeBounds property.
Just like the latest iOS and macOS devices, we're really excited that Apple TV 4K now supports P3 color. When providing retina assets, you may also want to update your assets to take advantage of this wider color space, allowing your graphics and images to contain even richer and more saturated colors than before. This isn't just for flat images but is supported for layered images as well.
Media apps will also want to look at updating their streams to include 4K and HDR variants for any content that was produced in these formats. Apple TV 4K supports both Dolby Vision and HDR10 for HDR content, and the addition of support for HEVC enables these higher fidelity and resolution streams while consuming up to 40 percent less bandwidth than comparable streams encoded using H.264.
The updated and improved Siri Remote now provides motion data for attitude and rotation rate, in addition to the values for acceleration and gravity that the prior version offered.
To determine if the paired remote supports these new features, you can inspect the new GCMotion "hasAttitudeAndRotationRate" property. The values for attitude and rotation rate are then provided by the respective GCMotion properties.
And with those few changes, you're going to be able to take advantage of all of the new capabilities and performance of Apple TV 4K.
For more information on updating your app for Apple TV 4K, please visit developer.apple.com.
-
-
찾고 계신 콘텐츠가 있나요? 위에 주제를 입력하고 원하는 내용을 바로 검색해 보세요.
쿼리를 제출하는 중에 오류가 발생했습니다. 인터넷 연결을 확인하고 다시 시도해 주세요.