Questions tagged [tvos9.1]

Use this tag for version specific questions about tvOS 9.1 - the operating system developed by Apple for the Apple TV. When using this tag also include the more generic [tvos] tag where possible.

45 questions
5
votes
1 answer

how to use preferredFocusEnvironments insted of preferredFocusedView for ios 10?

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 preferredFocusedView but for this variable is…
vikas prajapati
  • 1,868
  • 2
  • 18
  • 26
4
votes
1 answer

Is there any way to get SIZE of the screen in tvOS?

I am trying to get size the of the screen connected to apple tv, is it possible? I have been looking into the documentation provided by apple related to UIScreen but couldn't find anything new except nativeBounds which is same as bounds. let…
MQ.
  • 365
  • 6
  • 28
4
votes
3 answers

pressesEnded in tvOS not being called

I am developing a game for tvOS in swift spritekit. There is a viewcontroller A which presents a SKScene B. I am forwarding the pressesBegan and pressesEnded from A to B. pressesBegan is being called in A and forwarded to B but pressedEnded is not…
ybharath007
  • 111
  • 4
4
votes
2 answers

Can not move focus to next UICollectionViewCell in tvOS

I am new to tvOS app. I have created a custom button in UICollectionViewCell within UICollectionView. When I load my view controller, I am getting focus to the first cell of the UICollectionView, but by pressing the next key on my keyboard, focus…
spaleja
  • 1,435
  • 15
  • 24
4
votes
0 answers

UIButton in tvOS 9.1: focused state image not displayed

I have 3 buttons (name Button A, Button B and Button C). In storyboard, I have added images for normal, focused and selected state. Now suppose Button B is selected by default and its selected image is displayed. Now by swiping, focus is provided to…
GAURAV VIG
  • 269
  • 2
  • 9
4
votes
1 answer

How to perform an action event in tvOS on button focus

I would like to perform certain actions whenever my button is in focus instead of manually tapping it in tvOS. I have four UIButtons lined up horizontally and when the user just focuses on one of the 4 buttons, I will be showing an UIView with some…
Shane D
  • 834
  • 9
  • 23
3
votes
3 answers

How to live tvOS app in app store

I am working with a tvOS application and I want to live that application to apple tv-Store(tried both XCode upload and application loader ). But I get the following error "Unable to validate application archive of type 0x64" Please have a look at…
kaushal
  • 903
  • 10
  • 17
3
votes
1 answer

Xcode 7.2 - Creating New Project '' TVOS '' Missing

Just updated xcode 7.2 on macbook pro when I'm creating new project there is "TVOS" missing. Do I have to reinstall xcode or something I'm missing??? Please find the following screenshot for the reference.
M.A
  • 448
  • 6
  • 21
3
votes
2 answers

tvOS UITextField blank after editing

Editing UITextField in tvOS shows a new view where the user can enter in text, and when text entry is done, the user is returned to the previous view. However, I have found that when I return from the text editor, the text I edit does not show up in…
n_b
  • 1,116
  • 1
  • 11
  • 20
3
votes
4 answers

UITabBar displays UITabBarItem image ignoring rendering mode AlwaysOriginal

With the release of tvOS 9.1 and Xcode 7.2, my UITabBarItem images are being displayed incorrectly. In my view controllers, I set the tabBarItem.image and tabBarItem.selectedImage with images using UIImageRenderingMode.AlwaysOriginal. required…
picciano
  • 22,341
  • 9
  • 69
  • 82
2
votes
2 answers

How to move focus at button in collectionview cell in tvos application?

I am working on apple TV application. In my app, I have made a screen which has a collection view. In that case, I am able to move focus at collection view cell but not able to move focus to the button which is in collection view cell so can anyone…
vikas prajapati
  • 1,868
  • 2
  • 18
  • 26
2
votes
1 answer

How to move focus at navigationbar's BarButtonItem in apple tv?

I am working on apple tv application.I want to move focus on navigation bar's BarButtonItem. actually when view controller hasn't any button or text field then focus moved on BarButtonItem but when I added button in view controller then focus not…
vikas prajapati
  • 1,868
  • 2
  • 18
  • 26
2
votes
0 answers

AVPlayerViewController play/pause not working in tvOS

I am working on tvOS app .I have a list of videos and before play main video need to play DFP ad with skip functionality. I have added skip button on the AVPlayerViewController's view and manage focus(move focus skip button to…
Vipulk617
  • 799
  • 1
  • 7
  • 23
2
votes
1 answer

Can't upload tvOS app to App Store

Getting the error: New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, OS X, and tvOS SDK. Don't submit apps built with beta software including beta OS X builds. when trying to upload tvOS app to appstore,…
Awalias
  • 2,027
  • 6
  • 31
  • 51
2
votes
0 answers

tvOS: Change UITextField text color

I'm having issues changing the text color on a UITextField on tvOS. I've tried setting the color attribute in IB as well as pragmatically setting textField.textColor = .whiteColor() Neither worked. Potentially something apple disabled in tvOS?…
AndrewSB
  • 951
  • 3
  • 11
  • 25
1
2 3