Поделиться через


UIView.ShouldUpdateFocus(UIFocusUpdateContext) Метод

Определение

Вызывается UIView до потери или получения фокуса. Если возвращается falseлюбая из сред фокуса , обновление фокуса отменяется.

[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

Параметры

Возвращаемое значение

Реализации

Атрибуты

Применяется к