allowsExpansionToolTips in SwiftUI?

Is there a SwiftUI version of NSControl.allowsExpansionToolTips? That is, showing a tool tip with the full text when (and only when) a text item is truncated?

Or do I need to use a hosting view to get that behavior?

Answered by Frameworks Engineer in 805846022

SwiftUI doesn't yet support expansion tool tips.

Accepted Answer

SwiftUI doesn't yet support expansion tool tips.

If this is the case, I'd like to see the feature in SwiftUI in future SDK. So I sent a feature request: FB18743468.

allowsExpansionToolTips in SwiftUI?
 
 
Q