Questions tagged tvos

Explore the latest questions and answers asked by our top developers.

UIKit – How to prevent default blur and focus background of UITextField?

As you can see in the image, the UITextField (only on tvOS?) by default has these behaviors: A translucent overlay (make the background and the white text grey in the second button) A white background and bigger size when it’s focused (the first button) How do I remove/change these behaviors? What did I do? I […]

By Tr1et
Published
Categorised as swift, tvos, uikit Tagged , ,

How to detect volume button press on tvOS remote

Im trying to find a way to observe the player so that I can detect when a user increases or decreases the volume on the Apple TV. I have managed to get this to work for iOS by using: var audioSession: AVAudioSession? audioSession?.addObserver(self, forKeyPath: "outputVolume", options: [.new], context: &videoPlayerViewControllerKVOContext) if keyPath == "outputVolume" { guard […]

By kaddie
Published
Categorised as avplayer, avqueueplayer, swift, tvos Tagged , , ,

How to properly add a header to my collection view in xamarin.ios

I’ve added a header to my collection view but it’s not displaying the way I want it to display. I’m trying to have the header show up on the top of my view cells and to the left but instead, I’m stuck with what you see in the attached picture. I’d really appreciate the help. […]

By AspiringDev
Published
Categorised as Uncategorised Tagged , , ,

How to properly add a header to my collection view in xamarin.tvos

I’ve added a header to my collection view but it’s not displaying the way I want it to display. I’m trying to have the header show up on the top of my view cells and to the left but instead, I’m stuck with what you see in the attached picture. I’d really appreciate help fixing […]

By AspiringDev
Published
Categorised as Uncategorised Tagged , , ,

How to get "controller support" and "number of player" badges for a macOS game in the App Store

Consider "The Last Campfire" (awesome game BTW): Notice the "Controller / Supported" and "Players / 1 Single" badges. Game Controller Capability To get the controller’s badge in iOS and tvOS, I know we should add the "Game Controllers capability" under "Signing & Capabilities" as described here. However there’s no such capability in a macOS target. […]

By backslash-f
Published
Categorised as game-center, ios, macos, tvos, xcode Tagged , , , ,

tvOS: Unable to scroll through UICollectionView items when it is implemented like this: UICollectionView inside UITableView

I have implemented this: By following this tutorial. Here’s the problem: I am unable to scroll through the collection items. I think this has something to do with the fact that the project I followed is for iOS and my project is for tvOS. I’ve found a somewhat similar question. An answer linked to this […]

By Ahmed Ghrib
Published
Categorised as ios, swift, tvos, uicollectionview, uitableview Tagged , , , ,

SWIFT: How to fix cell highlighter and make the whole collection view scroll instead of the highlighter?

I am building a TVOS app where I have this collectionView: The current cell (The cell which has scrolled to), gets highlighted in Orange. For example, here the user scrolls to the third cell: WHAT I AM TRYING TO ACHIEVE: When the user scrolls to another cell, I want the Orange square, to remain in […]

By Ahmed Ghrib
Published
Categorised as swift, tvos, uicollectionview, uiscrollview Tagged , , ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq