1,905 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
3
votes
0
answers
47
views
.onPlayPauseCommand is not working tvOS SwiftUI
I'm working on tvOS app with SwiftUI, when Player is first time loaded .onPlayPauseCommand is working perfectly. But when IMAManager advertisement loaded and ends, .onPlayPauseCommand stops working. ...
0
votes
0
answers
64
views
NavigationLink focus time background issue SwiftUI
I'm working on TVOS app, when i add View inside NavigationLink it is showing unnecessary background around View while in Focus state.
I've tried to set .buttonStyle(.plain)but not working, and when i ...
Best practices
0
votes
0
replies
26
views
Skip button for tvOS with Google IMA SDK Pod
I am currently working on a tvOS project that uses the following pod: GoogleAds-IMA-tvOS-SDK (version 4.16.0).
I have two specific requirements and would like clarification on their feasibility:
...
1
vote
0
answers
78
views
How to switch between AAC and AC-3 audio groups in HLS dynamically (AVPlayer, tvOS/iOS)
I’m playing an HLS stream on tvOS/iOS using AVPlayer.
The master playlist has two independent AUDIO groups: one for AAC (stereo) and one for AC-3 (5.1). Example:
# AUDIO groups
#EXT-X-MEDIA:TYPE=AUDIO,...
0
votes
0
answers
22
views
tvOS UITableView shows shadow on top and bottom when manually changing contentOffset
I’m working on a tvOS app using Swift, and I have a UITableView that contains three sections.
For first two sections, each contain a horizontally scrolling UICollectionView.
The last section contains ...
1
vote
1
answer
46
views
Placeholder Text Color Not Persisting When Focus Changes on UITextField
I'm facing an issue in tvOS related to setting the placeholder text color of a UITextField.
I programmatically change the placeholder color using an attributed string like this:
textField....
0
votes
1
answer
93
views
tvOS TextField becomes misaligned when input is provided
I have a tvOS text field in SwiftUI. The placeholder "enter text here..." text is perfectly aligned, but as soon as a user adds some text, the field gains a bit of height and the text itself ...
0
votes
0
answers
57
views
SwiftUI Bug on tvOS 18 – TextField Broken in Modals
Just noticed a bug in tvOS 18+:
If you present a modal (.sheet) that contains a TextField, click into the text field to select your text from keyboard, then press the Back button, the TextField ...
1
vote
0
answers
72
views
How to Properly Integrate Google IMA SDK for Pre-roll, Mid-roll, and Post-roll Ads in a tvOS App using TVJS and Swift?
I'm working on a tvOS application that plays video content using TVMLKit/TVJS. I'm trying to integrate Google IMA SDK to show pre-roll, mid-roll, and post-roll ads in my app.
Here’s what I’ve done so ...
0
votes
0
answers
63
views
Apple TV In-App Purchase via TestFlight redirects to Settings for validation but doesn't return to app automatically
I'm testing an in-app subscription purchase on Apple TV (tvOS)
During the purchase process:
When a user initiates an IAP for the first time, the system prompts them to sign in with their Apple ID, ...
0
votes
1
answer
40
views
tvOS SpriteKit: focusBehavior not working for my SKNodes despite setting focusBehavior to .focusable
I’m developing a tvOS game using SpriteKit and trying to make three SKShapeNodes focusable by setting their focusBehavior = .focusable. However, when testing on the Apple TV, the nodes are not ...
2
votes
0
answers
109
views
Flickering Artwork Images in tvOS for HLS Live Stream Chapters on tvOS 18
Problem
When displaying a live HLS stream with chapter markers containing artwork images in an AVPlayer, I'm experiencing significant flickering of the artwork images. This flickering occurs ...
2
votes
1
answer
89
views
How can I disable the default focus UI of a UITextField in tvOS?
I'm developing an app for tvOS and I'm using a UITextField to handle text input. However, when the UITextField is focused, it shows the default tvOS focus UI (like the glow and scaling effect). I want ...
1
vote
0
answers
40
views
Trouble compiling on tvOS
I'm trying to use AudioKit in tvOS, but I'm running into a compiler issue.
When I try to compile my project I'm getting the following error in Settings.swift.
'isiOSAppOnMac' is only available in tvOS ...
0
votes
1
answer
61
views
How to show only one cell at a time in a horizontally scrolling UICollectionView (tvOS)
I’m building a tvOS app that uses two UICollectionViews:
The top collection view acts as a banner displaying information related to the item currently focused in the bottom collection view.
The ...