One Logo Pool Ball
UIKit · IOS API REFERENCE

UIFocusHaloEffect

class · iOS 15.0+ · SDK 27.1

class UIFocusHaloEffect

Members (9)

init · iOS 15.0+

init

TypeScript
static initPath(bezierPath: UIBezierPath): UIFocusHaloEffect
Swift declaration
convenience init(path bezierPath: UIBezierPath)
init · iOS 15.0+

init

TypeScript
static initRect(rect: { x: number; y: number; width: number; height: number }): UIFocusHaloEffect
Swift declaration
convenience init(rect: CGRect)
init · iOS 15.0+

init

TypeScript
static initRoundedRectCornerRadiusCurve(rect: { x: number; y: number; width: number; height: number }, cornerRadius: number, curve: _QuartzCore_CALayerCornerCurve): UIFocusHaloEffect
Swift declaration
convenience init(roundedRect rect: CGRect, cornerRadius: CGFloat, curve: CALayerCornerCurve)
get · iOS 15.0+

containerView

TypeScript
get containerView(): (UIView) | null
Swift declaration
weak var containerView: UIView? { get set }
set · iOS 15.0+

containerView

TypeScript
set containerView(value: (UIView) | null)
Swift declaration
weak var containerView: UIView? { get set }
get · iOS 15.0+

position

TypeScript
get position(): UIFocusHaloEffect_Position
Swift declaration
var position: UIFocusHaloEffect.Position { get set }
set · iOS 15.0+

position

TypeScript
set position(value: UIFocusHaloEffect_Position)
Swift declaration
var position: UIFocusHaloEffect.Position { get set }
get · iOS 15.0+

referenceView

TypeScript
get referenceView(): (UIView) | null
Swift declaration
weak var referenceView: UIView? { get set }
set · iOS 15.0+

referenceView

TypeScript
set referenceView(value: (UIView) | null)
Swift declaration
weak var referenceView: UIView? { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UIFocusHaloEffect.init()

inherited init: cannot prove legal (class declares 3 custom initializers)

All UIKit types →