UICollectionViewDelegate.DidUpdateFocus Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Die Delegatmethode wird kurz nach der Änderung des Fokus in eine neue UIViewaufgerufen.
[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
Parameter
- collectionView
- UICollectionView
Die Auflistungsansicht, die die Anforderung ausgelöst hat.
Metadaten für die Fokusänderung.
- coordinator
- UIFocusAnimationCoordinator
Der T:UIKit.UIFocusAnimationController koordiniert die Fokusänderungsanimationen.
- Attribute
Hinweise
Die Werte von PreviouslyFocusedIndexPath und NextFocusedIndexPath können sein null
, wenn der Fokus zuvor nicht innerhalb oder collectionView
nur entfernt war.