Class UIFocusGuide

All Implemented Interfaces:
NSCoding, NSObjectProtocol, ObjCProtocol

public class UIFocusGuide
extends UILayoutGuide
Since:
Available in iOS 9.0 and later.
  • Constructor Details

    • UIFocusGuide

      public UIFocusGuide()
    • UIFocusGuide

      protected UIFocusGuide​(NSObject.Handle h, long handle)
    • UIFocusGuide

      protected UIFocusGuide​(NSObject.SkipInit skipInit)
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled​(boolean v)
    • getPreferredFocusEnvironments

      public List<UIFocusEnvironment> getPreferredFocusEnvironments()
      Since:
      Available in iOS 10.0 and later.
    • setPreferredFocusEnvironments

      public void setPreferredFocusEnvironments​(List<UIFocusEnvironment> v)
      Since:
      Available in iOS 10.0 and later.
    • getPreferredFocusedView

      @Deprecated public UIView getPreferredFocusedView()
      Deprecated.
      Deprecated in iOS 10.0. Use preferredFocusEnvironments
      Since:
      Available in iOS 9.0 and later.
    • setPreferredFocusedView

      @Deprecated public void setPreferredFocusedView​(UIView v)
      Deprecated.
      Deprecated in iOS 10.0. Use preferredFocusEnvironments
      Since:
      Available in iOS 9.0 and later.