added accessibilityActivate()
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
090068031e
commit
4561050dca
@ -249,6 +249,11 @@ open class Toggle: Control, Changeable {
|
||||
}
|
||||
}
|
||||
|
||||
open override func accessibilityActivate() -> Bool {
|
||||
sendActions(for: .touchUpInside)
|
||||
return true
|
||||
}
|
||||
|
||||
open override var intrinsicContentSize: CGSize {
|
||||
if showLabel {
|
||||
label.sizeToFit()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user