title: How do I get buttons in a cell on a UICollectionView running on tvOS (AppleTV) to take focus?
body: <p>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.storyboard.</p>
  
  <p>I can't get tvOS to take focus of the buttons though. Any idea why?</p>
  
  <pre><code>#import "ViewController.h"
  
  @interface ViewController ()
  
  @end
  
  @implementation ViewController
  
  - (void)viewDidLoad {
      [super viewDidLoad];
  
  }
  
  - (void)didReceiveMemoryWarning {
      [super didReceiveMemoryWarning];
  }
  
  - (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section {
      return 5;
  }
  
  - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
  {
      UICollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:@"MyCell" forIndexPath:indexPath];
      return cell;
  }
  
  - (IBAction)buttonAction
  {
      // do stuff
  }
  
  @end
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/E3oJd.png" rel="noreferrer"><img src="https://i.stack.imgur.com/E3oJd.png" alt="enter image description here"></a></p>