UICollectionViewDelegate.DidUpdateFocus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
.