T
NativeViewSnapshotNode
One view in an objc.snapshot result, which lists views in breadth-first order.
type NativeViewSnapshotNode = { … }Members
className
stringThe view's Objective-C class name.
depth
numberLevels below the root, which is 0.
The view's frame in its superview's coordinates, in points.
parent
numberThe index of the parent node in the result, or -1 for the root.
text
string | nullThe view's text when it has a string one, such as a UILabel's, else null.
A retained handle to the view; discard it after cell reuse or a channel change.
visible
booleanWhether the view is not hidden, has a non-zero alpha and is in a window.