EXTENSION
SingleScreenContaining
¶
extension SingleScreenContaining
Methods¶
findInnermostPrimaryScreen()
¶
public func findInnermostPrimaryScreen() -> any Screen
Iteratively traverses a sequence of primaryScreen
values until one is found that does not
conform to SingleScreenContaining
. Put another way, this returns the first primaryScreen
that is a Screen
and not a SingleScreenContaining
type.