Bewerken

Delen via


UIView.ShouldUpdateFocus(UIFocusUpdateContext) Method

Definition

Called prior to the UIView either losing or receiving focus. If either focus environment returns false, the focus update is canceled.

[Foundation.Export("shouldUpdateFocusInContext:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldUpdateFocus (UIKit.UIFocusUpdateContext context);
abstract member ShouldUpdateFocus : UIKit.UIFocusUpdateContext -> bool
override this.ShouldUpdateFocus : UIKit.UIFocusUpdateContext -> bool

Parameters

Returns

Implements

Attributes

Applies to