Düzenle

Aracılığıyla paylaş


UICollectionViewDelegate.DidUpdateFocus Method

Definition

Delegate method called shortly after focus has changed to a new UIView.

[Foundation.Export("collectionView:didUpdateFocusInContext:withAnimationCoordinator:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidUpdateFocus (UIKit.UICollectionView collectionView, UIKit.UICollectionViewFocusUpdateContext context, UIKit.UIFocusAnimationCoordinator coordinator);
abstract member DidUpdateFocus : UIKit.UICollectionView * UIKit.UICollectionViewFocusUpdateContext * UIKit.UIFocusAnimationCoordinator -> unit
override this.DidUpdateFocus : UIKit.UICollectionView * UIKit.UICollectionViewFocusUpdateContext * UIKit.UIFocusAnimationCoordinator -> unit

Parameters

collectionView
UICollectionView

The collection view that originated the request.

context
UICollectionViewFocusUpdateContext

Metadata for the focus change.

coordinator
UIFocusAnimationCoordinator

The T:UIKit.UIFocusAnimationController coordinating the focus-change animations.

Attributes

Remarks

The values of PreviouslyFocusedIndexPath and NextFocusedIndexPath may be null if focus was previously not within, or just departed, the collectionView.

Applies to