Questions tagged [tvos]
tvOS is an operating system developed by Apple for the Apple TV based on its successful iOS operating system. The first beta was released on September 9th, 2015.
1,872
questions
0
votes
0
answers
10
views
Confirmation alert before exiting tvOS Apps will reject the app?
I know a lot of iOS apps already got reject by Apple Guidelines because of calling exit(0) or other ways of exiting apps.
But I'm unsure if something changed lately, because I couldn't find that in ...
0
votes
0
answers
10
views
How to fix seekbar pointer for live video streaming in tvOS
I need to handle seekbar in tvOS for live video which is coming through m3u8 file.I am using default player in AVPlayerViewController.As per my observation from other apps seekbar pointer is fixed at ...
0
votes
0
answers
17
views
Enable voice dictation for textfield without default keyboard in tvOS
We need to design a search bar with custom keyboard in tvOS. Keyboard that displays only particular keys within the particular area of the page and not full screen.Something like the keyboard below:
...
0
votes
0
answers
22
views
Focus skipping cells in custom CollectionViewLayout?
I am currently working on a tvOS app where I'm trying to display events in a time grid using a custom UICollectionViewLayout. I've hit a bit of a roadblock, and I'm hoping someone here can give me a ...
0
votes
0
answers
18
views
didSelectRowAt no longer working after tvOS 17 Update
after the recent tvOS17 update, didSelectRowAt is no longer working for my table view. I'm very confused as to what is going on and I am in desperate need of assistance.
Here's a checklist of things I'...
1
vote
0
answers
37
views
Callback method for Zoom In/Zoom Out video in AVPlayerViewController in tvOS
I am trying to find the method from where I can detect whenever user zoom in/out video in tvOS by enabling Tap-to-Zoom Video -> On.
Please help me!!!
0
votes
0
answers
19
views
Handling FocusStates on tvOS in a two layer approach
I'm currently building my first tvOS app in SwiftUI and I'm having trouble figuring out what exactly I'm doing wrong.
I was trying to build something similar to a two-level/layer UI. The first layer ...
0
votes
0
answers
56
views
Unhandled Exception: UnimplementedError: init() has not been implemented. video_player package
I have launched a flutter app on tvos, but I have a problem. I can't run video_player on tvos because it's not supported. Searched for a solution but didn't find it. If you managed to launch the ...
0
votes
1
answer
33
views
Open Apple Music on Apple TV with deeplink
Is it possible to open Apple Music from within an app with a deeplink, like:
https://music.apple.com/us/album/all-in-my-head-flex-feat-fetty-wap/1087445205?i=1087445220&uo=4
I tested it. It opens ...
1
vote
2
answers
139
views
Navigating tvOS UITableView By Letter of Alphabet
Here's a clip on YouTube showing the issue. Video
I have a UITableView that lists the files located in the app alphabetically. As there are over 1500 files, I'm trying to implement functionality to ...
1
vote
0
answers
31
views
NEVPNProtocolIPSec unavailable on Apple TV?
I'm porting my VPN app to tvOS 17. In iOS the VPN connects successfully, however in tvOS saveToPreferences returns error Code 1: Could not save VPN Configurations: Missing protocol or protocol has ...
1
vote
1
answer
56
views
React Native TVOS Upgrade Issue: 'MinimumOSVersion' Missing in Info.plist Hermes Enabled
I'm woking on tv os app.I recently upgraded React Native TVOS from version 0.69.8-2 to 0.71.11. After the upgrade, I'm encountering an issue when trying to upload my IPA file to Transporter.
The error ...
0
votes
0
answers
9
views
Is there an Accessiblity announce() method in TvOS and IOS?
In iOS and TvOS I need a function that will speak the text passed to it. Didn't see anything mentioned in the documentation besides the Accessibility label and hint. The text is dynamic and should be ...
0
votes
0
answers
44
views
'UIKeyboardDidShowNotification' is unavailable: not available on tvOS error in react-native-safe-area-context after React Native update
I recently updated my React Native version from 0.69.8-2 to 0.71.11 and started encountering an error that I haven't been able to resolve. The error message is:
'UIKeyboardDidShowNotification' is ...
0
votes
0
answers
69
views
How to fix crash `*** -[NSObject allocWithZone:]: attempt to allocate object of class 'AGXA12FamilyCommandBuffer' failed`?
*** -[NSObject allocWithZone:]: attempt to allocate an object of class 'AGXA12FamilyCommandBuffer' failed happens on tvOS to many users that use my product.
Does anybody know what this class is ...
0
votes
0
answers
9
views
Swift tvOS use cursor for navigating and controlling tvOS application
Im currently developing tvOS app and i wonder if i can just implement cursor to navigate and control my app? so i don't have to implement onFocus or like manually change from button to button using ...
1
vote
2
answers
28
views
audio player stutters when slider updates every second
I am using TvOSSlider in my tv app to create a seek-bar and play audio track with AVAudioPlayer. My problem is that it is stuttering every time i update the seekbar/slider through code. So currently ...
1
vote
0
answers
15
views
Numeric Keyboard Overlapping with Backspace Button in Apple TV Hebrew Application On Digit Entry Screen
We have developed an Apple TV application with a Hebrew (RTL layout) interface. The application utilizes a Swift-based Digit Entry view controller for pin entry. However, we are encountering an issue ...
0
votes
0
answers
29
views
Apple TvOS VoiceOver mode focus moves across UI views without user input
I'm doing development for Apple TvOS. There's an issue in VoiceOver mode with focus jumping across UI views without user interaction.
The focus goes across the views on its own quoting text and in ...
0
votes
0
answers
16
views
Troubleshooting GCDWebServer Library on tvOS: Directory Access
I am using GCDWebServer library to create a http server on my tvos device. When I do so, the server link successfully opens the web page associated with the server. However, it throws 500 error on any ...
0
votes
0
answers
67
views
SwiftUI, tvOS - .onChange issue for focus and slow vertical scrolling
I am having an issue when using .onChange() within my app.
I have 2 columns in a HStack. Column 1 is a scrollview with Live TV Channels and Column 2 is the EPG information for this channel. When the ...
0
votes
0
answers
16
views
Does YouTube allow use of the API on Apple TV apps?
I would like to build an Apple TV (TVOS) app but I see very little documentation on it. Do you allow YouTube videos on the apple TV?
We would like to use the YouTube API to pull videos into the App.
...
-1
votes
1
answer
16
views
CFBundleIcons error when uploading TV OS app
problem is when i am trying upload AppleTV app to AppStoreConnect it gives me this errors
enter image description here
Cant find any information how to fix it
This is my info.plist:
enter image ...
0
votes
0
answers
48
views
UserDefaults is not saving data after suddenly closing device
I am logging app and loading home page all task working properly. After login I save user data in UserDefaults. But if I suddenly close Apple TV then I am getting UserDefaults data as nil.
I am using ...
0
votes
1
answer
40
views
Saving user data to internal memory - Apple TV Swift
I am trying to save access token with in the application registry and getting saved success fully, but after rebooting the device and coming back to the device registry is getting cleared and user is ...
-1
votes
1
answer
37
views
import AVKit - no such module on tvOS, possible for iOS/multiplatform though
When starting a new tvOS project and try to import AVKit it says no such module available.
I add them on Frameworks, Libraries and Content - still nothing.
Double checked if they are in BuildPhases -...
0
votes
0
answers
32
views
Does Accessibility Inspector work with the tvOS simuator?
I'm trying to perform an accessibility audit of a simple Hello World app on tvOS. When I debug on to a physical Apple TV I can select the device from the dropdown in Accessibility Inspector and then ...
0
votes
0
answers
96
views
HLS Discontinuity Manifest Playback issues, HEVC, fragmented mp4s
I am trying do a playback test with content stitched together in a HLS manifest using the #EXT-X-DISCONTINUITY tag. Im testing on the AppleTV 4k with the VLC player and a hlsjs player with Safari on ...
0
votes
1
answer
113
views
Backend and frontend technologies compatible with Tizen, WebOS, Android TV, Apple tvOS and Roku OS
I want to develop a simple app that works on all smart tv systems: Tizen, WebOS, Android TV, Apple tvOS and Roku OS.
The app will be very simple. Its goal is to print the data from the backend in a ...
0
votes
0
answers
81
views
tvOS/SwiftUI: toolbar item steals focus
I'm trying to add a brand logo to a SwiftUI tvOS interface. The main UI is a TabView. Focus works fine until I try to add a ToolbarItem. Once I do that it seems to steal focus and my TabView becomes ...
0
votes
2
answers
285
views
iOS app how to only mirror on apple tv and not taking up the whole screen?
I have an iOS app, and when it is mirrored to the Apple TV via Airplay, it actually takes over the entire TV screen, as if UIKit is reading the actual dimensions of the TV. However, this is not what I ...
0
votes
0
answers
156
views
Getting developer mode enabled on Hisense Laser TV
Does anyone know how to enable developer mode on Hisense Laser TV?
Trendy approach to enable developer mode (like clicking 7 times on Build in Device Info menu) doesn't work.
I tried to open the menu ...
0
votes
1
answer
303
views
SwiftUI Animation completion handler/closure
is there the possibility in some way to call a handler or closure when a certain animation on a view using the animation-View-Modifier has ended?
Like the "animate" - Feature in UIKit:
https:...
1
vote
0
answers
74
views
Manually Handling Focus State in tvOS 14: Alternatives to @FocusState and .focusable
How can we manually handle focus state in tvOS 14, since the @FocusState property wrapper and .focusable modifier are only available from tvOS 15 onwards? Are there any alternative approaches or best ...
1
vote
0
answers
74
views
Cannot show notification using FCM to standalone Apple tvOS
Description
I am developing a standalone app for Apple tvOS. I am running the following code
import SwiftUI
import Firebase
class AppDelegate: UIResponder, UIApplicationDelegate, ...
0
votes
0
answers
15
views
Crash in MediaToolbox __setVideoBounds_block_invoke tvOS 14
getting crash while playing video uusing AVPlayer
working for all the tvOS versions only crashing for tvOS 14
Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x54a8 objc_msgSend + 8
1 ...
2
votes
2
answers
95
views
Exclude notification methods for tvOS using @available
I'm studying UserNotifications framework and have the following method to respond to user's actions on a notification.
func userNotificationCenter (_ pNotificationCenter: UNUserNotificationCenter, ...
0
votes
0
answers
12
views
dPad Game Controller in tvOS using Publisher to get x-Axis and y-Axis values
I'm trying to read the X- and Y-Axis values of the Siri-Remote-Control on my appleTV Device.
It works fine if I use a "valueChangeHandler" on the dPad.
I was looking to use an reactive ...
0
votes
0
answers
261
views
React Native tvOS and Android TV: customize spatial navigation
I've been doing some tests on tvOS and Android with React Native, but I have experienced some weird (or just different from what I expected) behaviour with spatial navigation.
Here's the skeleton of ...
0
votes
0
answers
50
views
Add Completion Handler for when PDF has been downloaded
UPDATE:
At a suggestion, I tried implementing a NSURLSession to download and then draw the file. I have this now in my code, and it mostly works, but I've found if it is more than 1MB, it simply won't ...
0
votes
1
answer
358
views
Make custom view focusable in tvOS using .focused( :equals) in SwiftUI
I have a very simple custom view which only consists of a RoundedRectangle:
public struct SimpleView: View {
@State public var focused = false
public var body: some View {
...
-1
votes
1
answer
32
views
SwiftUI TVOS TabView remove blank area
I have an apple tv app, I need to delete the blank area between tabView menu and my screen.
My Screen:
The screen that I hope
2
votes
0
answers
120
views
Focus state styling of UIButtons ignored when using UIButton.Configuration on tvOS
When using UIButton.Configuration to style UIButtons depending on their state, everything works as expected on iOS.
However, on tvOS the button configuration's baseBackgroundColor, baseForegroundColor,...
0
votes
1
answer
84
views
tvOS: How to move TabView button off to the side
I have an existing app with a TabView as its main interface. For example:
struct MainView: View {
var body: some View {
TabView {
RecentView()
.tabItem {
...
0
votes
1
answer
51
views
How to keep the process running while implementing JWPlayerTVKit SDK in Swift
I am new to swift and mobile development. I am writing a React Native app for tvOS and I need to implement the JWPlayerTVKit SDK in swift, as the react-native-jw-media-player does not support tvOS and ...
1
vote
1
answer
182
views
SwiftUI + Problems with focus on TVOS after update to 16.4
All views in my SwiftUI TVOS application stopped working correctly after TVOS update to 16.4. Gestures recognition and buttons from Siri remote work, but elements in my views lose or do not set in ...
2
votes
1
answer
192
views
How to detect if is the old Apple TV Siri Remote (1st generation) or the new Apple TV remote (2nd gen and 3rd gen)
The market has many users that are using Apple TV remote controller 1st Generation and the new remote with D-Pad clickable.
Identify your Apple TV remote
How to distinguish between the two remote ...
2
votes
1
answer
239
views
Downloaded PDF Not Accessible
My tvOS app is set up with the main capability being drawing PDFs of music sheets that are already embedded into the app itself. There are multiple options here, as it can possibly only display ...
0
votes
0
answers
32
views
How to simulate press event on React Native tvOS?
I'm trying to simulate a press event like I'm pressing on the Apple TV Remote. Is this possible? I see a lot of documentation about how event handling, but not how to simulate an event. Thanks!
0
votes
0
answers
100
views
Multiple stack and tab navigation in the react-native-tvos app using TabBarIOS
I am pretty new to react native development. I am trying to make a tvOS app. For example, it has two tabs and each tab has its own navigation stack for push/pop. As I understand I should use react-...