setBackgroundColor: Deprecated

in Apple documentation:

https://developer.apple.com/documentation/pdfkit/pdfannotationbuttonwidget/setbackgroundcolor(_:)?language=objc

What is the alternative (to set window background) ?

setBackgroundColor: Deprecated
 
 
Q