preferredFrame(for:)

Provides a preferred frame given @c rect based on the current appearance configuration.

Declaration

func preferredFrame(for rect: CGRect) -> CGRect