Package org.robovm.apple.uikit
Interface UIFocusEnvironment
- All Superinterfaces:
NSObjectProtocol,ObjCProtocol
- All Known Subinterfaces:
UIFocusItem
- All Known Implementing Classes:
ABNewPersonViewController,ABPeoplePickerNavigationController,ABPersonViewController,ABUnknownPersonViewController,ADBannerView,ADInterstitialAdPresentationViewController,ARCoachingOverlayView,ARSCNView,ARSKView,ASAccountAuthenticationModificationViewController,ASAuthorizationAppleIDButton,ASCredentialProviderViewController,AUViewController,AVPictureInPictureVideoCallViewController,AVPlayerViewController,AVRoutePickerView,BCChatButton,CABTMIDICentralViewController,CABTMIDILocalPeripheralViewController,CAInterAppAudioSwitcherView,CAInterAppAudioTransportView,CLLocationButton,CNContactPickerViewController,CNContactViewController,CPWindow,EKCalendarChooser,EKEventEditViewController,EKEventViewController,FPUIActionExtensionViewController,GCEventViewController,GKAchievementViewController,GKFriendRequestComposeViewController,GKGameCenterViewController,GKLeaderboardViewController,GKMatchmakerViewController,GKTurnBasedMatchmakerViewController,GLKView,GLKViewController,HKActivityRingView,HMCameraView,ILClassificationUIExtensionViewController,INUIAddVoiceShortcutButton,INUIAddVoiceShortcutViewController,INUIEditVoiceShortcutViewController,LPLinkView,MCBrowserViewController,MFMailComposeViewController,MFMessageComposeViewController,MKAnnotationView,MKCircleView,MKCompassButton,MKMapView,MKMarkerAnnotationView,MKOverlayPathView,MKOverlayView,MKPinAnnotationView,MKPolygonView,MKPolylineView,MKScaleView,MKUserLocationView,MKUserTrackingButton,MPMediaPickerController,MPMoviePlayerViewController,MPVolumeView,MSMessagesAppViewController,MSStickerBrowserView,MSStickerBrowserViewController,MSStickerView,MTKView,PDFThumbnailView,PDFView,PHLivePhotoView,PHPickerViewController,PKAddPassButton,PKAddPassesViewController,PKAddPaymentPassViewController,PKAddSecureElementPassViewController,PKCanvasView,PKPaymentAuthorizationViewController,PKPaymentButton,QLPreviewController,RPBroadcastActivityViewController,RPPreviewViewController,RPSystemBroadcastPickerView,SCNNode,SCNReferenceNode,SCNView,SFSafariViewController,SK3DNode,SKAudioNode,SKCameraNode,SKCloudServiceSetupViewController,SKCropNode,SKEffectNode,SKEmitterNode,SKFieldNode,SKLabelNode,SKLightNode,SKNode,SKReferenceNode,SKScene,SKShapeNode,SKSpriteNode,SKStoreProductViewController,SKTileMapNode,SKTransformNode,SKVideoNode,SKView,SLComposeServiceViewController,SLComposeViewController,STWebpageController,TWTweetComposeViewController,UIActionSheet,UIActivityIndicatorView,UIActivityViewController,UIAlertController,UIAlertView,UIButton,UICloudSharingController,UICollectionReusableView,UICollectionView,UICollectionViewCell,UICollectionViewController,UICollectionViewListCell,UIColorPickerViewController,UIColorWell,UIControl,UIDatePicker,UIDocumentBrowserViewController,UIDocumentMenuViewController,UIDocumentPickerExtensionViewController,UIDocumentPickerViewController,UIEventAttributionView,UIFocusEnvironmentAdapter,UIFocusItemAdapter,UIFontPickerViewController,UIImagePickerController,UIImageView,UIInputView,UIInputViewController,UILabel,UIListContentView,UINavigationBar,UINavigationController,UIPageControl,UIPageViewController,UIPickerView,UIPopoverBackgroundView,UIPopoverPresentationController,UIPresentationController,UIProgressView,UIReferenceLibraryViewController,UIRefreshControl,UIScrollView,UISearchBar,UISearchContainerViewController,UISearchController,UISearchTextField,UISegmentedControl,UISheetPresentationController,UISlider,UISplitViewController,UIStackView,UIStepper,UISwitch,UITabBar,UITabBarController,UITableView,UITableViewCell,UITableViewController,UITableViewHeaderFooterView,UITextField,UITextView,UIToolbar,UIVideoEditorController,UIView,UIViewController,UIVisualEffectView,UIWebView,UIWindow,VNDocumentCameraViewController,WKWebView
public interface UIFocusEnvironment extends NSObjectProtocol
- Since:
- Available in iOS 9.0 and later.
-
Method Summary
Modifier and Type Method Description voiddidUpdateFocus(UIFocusUpdateContext context, UIFocusAnimationCoordinator coordinator)StringgetFocusGroupIdentifier()UIFocusItemContainergetFocusItemContainer()UIFocusEnvironmentgetParentFocusEnvironment()UIViewgetPreferredFocusedView()Deprecated.Deprecated in iOS 10.0.List<UIFocusEnvironment>getPreferredFocusEnvironments()voidsetNeedsFocusUpdate()booleanshouldUpdateFocus(UIFocusUpdateContext context)voidupdateFocusIfNeeded()
-
Method Details
-
getPreferredFocusEnvironments
List<UIFocusEnvironment> getPreferredFocusEnvironments() -
getParentFocusEnvironment
UIFocusEnvironment getParentFocusEnvironment()- Since:
- Available in iOS 12.0 and later.
-
getFocusItemContainer
UIFocusItemContainer getFocusItemContainer()- Since:
- Available in iOS 12.0 and later.
-
getPreferredFocusedView
Deprecated.Deprecated in iOS 10.0. Use preferredFocusEnvironments- Since:
- Available in iOS 9.0 and later.
-
getFocusGroupIdentifier
String getFocusGroupIdentifier()- Since:
- Available in iOS 14.0 and later.
-
setNeedsFocusUpdate
void setNeedsFocusUpdate() -
updateFocusIfNeeded
void updateFocusIfNeeded() -
shouldUpdateFocus
-
didUpdateFocus
-