編集

次の方法で共有


UICollectionViewSource.DidUpdateFocus Method

Definition

Indicates that the focus changed as detailed in the context.

[Foundation.Export("collectionView:didUpdateFocusInContext:withAnimationCoordinator:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 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.

coordinator
UIFocusAnimationCoordinator

A UIFocusAnimationCoordinator object containing metadata.

Attributes

Remarks

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

Applies to