Returns the number of accessibility elements in the container.
SDKs
- iOS 3.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- UIKit
Declaration
func accessibilityElementCount() -> Int
Return Value
The number of accessibility elements in the container. By default, this method returns 0
.