apple-tv Questions
3
Solved
Has anybody figured out how to get motion events working with the new apple TV remote? Thanks.
I've tried calling
override func motionBegan(motion: UIEventSubtype, withEvent event: UIEvent?) {
...
3
Solved
What is the User Agent string for Apple TVs running the new Apple tvOS operating system (which I believe is based on iOS)? Do they report themselves as being "iOS" devices?
5
I have a UICollectionView which contains 12-13 UICollectionViewCells. I can easily focus on the UICollectionViewCells and everything works. There is a UIButton outside the UICollectionView. If I am...
6
Solved
I have follow this tutorial and everything works fine. The only issue I'm having is i can't figure out how to detect when a button has been pressed?
Thanks in advance
3
Solved
Is it possible to make a UIView focusable? Or should I just use a custom UIButton for all possible views?
I tried to override canBecomeFocused but nothing happened.
Arenaceous asked 11/10, 2015 at 23:6
1
When playing a sound from an iOS device connected to Apple TV via AirPlay (using iOS9.2), the first second or so of the sound playing is cut off. This unwanted behavior is not app specific, but sys...
Foreyard asked 11/12, 2015 at 12:12
3
My end goal is to create a single FFmpeg command that will convert my h264.DTS.mkv files to a format that is compatible with my AppleTV, whilst preserving the original quality.
I'm almost there, h...
4
Solved
I'm exploring tvOS and I found that Apple offers nice set of templates written using TVML. I'd like to know if a tvOS app that utilises TVML templates can also use UIKit.
Can I mix UIKit and TVMLK...
2
Solved
so I am exploring the new tvOS. As I wanted to kind of replicate the horizontal feature section of the app store (e.g. "Best New Apps")
My plan was to use a UITableView to lay out the base structu...
Payment asked 8/10, 2015 at 15:26
1
Solved
I am working on apple tv os application. I want to move focus on particular UiButton but I don't know how to use preferredFocusEnvironments instead of preferredFocusedView ?
I am able to use prefe...
1
would someone have any experience with this type of layout? I have a Initial ViewController that is used for Login then after Login it goes to a TabBarViewController as presentViewController() from...
1
Solved
I have a subview for which I have overridden the preferredFocusedView. The subclass has a UIView called viewToFocus. I check if that view exists, if it does I focus that view, if not I return the p...
Own asked 13/9, 2016 at 21:22
1
I'm working on an Apple TV app using TVMLKit. My app's JavaScript code tries to send an HTTP request to a server using XMLHttpRequest. The server is expecting a specific user agent, so I tried this...
2
Solved
I have displayed the airplay button using this code
var airplayButton: UIBarButtonItem!
let airView: MPVolumeView = MPVolumeView()
airView.showsRouteButton = true
airView.showsVolumeSlider = false...
Niggardly asked 30/6, 2016 at 9:10
1
I want to create an application, where user didn't know about the discovery of nearby devices (like iphone, ipad and appletv, etc)and select the only appleTv, if available in nearby then connect at...
1
Solved
I'm overriding pressesBegan to receive Select presses. The Siri Remote's Menu Button does not exit my application when the focus is on a UIButton. If no UI element is focused the Menu Button works ...
Attwood asked 7/6, 2016 at 17:26
9
I have an iOS app that I need to extend to tvOS.
All the information that I found are explaining how to start from scratch!
Is there any way to extend my app to tvOS or I should start a new project...
6
Solved
I started a blank tvOS project and created the following code:
- (void)viewDidLoad
{
[super viewDidLoad];
AVPlayer *avPlayer = [AVPlayer playerWithURL:[NSURL URLWithString:@"http://www.myurl...
5
I am an iPhone developer interested in developing applications for Apple TV.
Does Apple provide a SDK for the Apple TV?
If I can develop for the Apple TV how do I install the SDK on my Apple TV?
1
Is there a way to use custom fonts in an Apple tvOS TVML based application? I've tried the @font-face at-rule to no avail.
<document>
<head>
<style>
@font-face {
font-family: ...
0
Is it possible to detect the Apple TV 4 Siri Remote from an iOS application using CoreBluetooth? I'm able to detect the Apple TV, but I'm not having any luck detecting the Siri Remote. The Siri Rem...
Audley asked 4/3, 2016 at 0:30
2
Solved
Here is my very basic code. It shows five cells in a UICollectionView (each cell with a simple button in it). All buttons point to the single IBAction method. This is all setup within the Main.stor...
Incivility asked 14/9, 2015 at 2:4
1
I'm been searching for a way to check the Siri Remote's current orientation or to register for Siri Remote orientation changes, but I haven't found anything yet. Is it possible to do this (without ...
Pyuria asked 16/12, 2015 at 18:14
3
Solved
Is it possible to load and use external javascript libraries for use on TVML Apple TV apps?
For example, can I load the Firebase js library and use it to fetch data? Or load lodash to use it's fun...
Conchoid asked 13/9, 2015 at 23:15
6
Solved
Apple has released it's SDK for apple tv yesterday.
Most apps for TVs are web based (html, javascript and css) and I would like to port an existing tv web app to the tvOS.
The SDK in Xcode shows ...
Haiduk asked 10/9, 2015 at 13:42
© 2022 - 2024 — McMap. All rights reserved.