PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, September 29, 2022

[FIXED] What stock UIKit classes are Focusable?

 September 29, 2022     focus, tvos, uikit     No comments   

Issue

Out of the various stock UIKit classes, which ones are considered focusable by default by the Focus Engine on tvOS?


Solution

Per David House on Big Nerd Ranch, the following UIKit classes are focusable:

  • UIButton
  • UITextField
  • UITableView
  • UICollectionView
  • UITextView
  • UISegmentedControl
  • UISearchBar

Note that this is different from which classes conform to the UIFocusEnvironment protocol; the above are what would return true on canBecomeFocused



Answered By - Matt Mc
Answer Checked By - Pedro (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home
View mobile version

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing