MacOS中的多色SF符号11 Big Sur
我想以多色黄色模式编程地将工具栏添加到工具栏“ star.fill”符号。
我可以通过Xcode/ib属性进行。
,但我不明白该如何编程进行操作,因为nssymbolConfiguration -configurationPreferringPreferringMulticolor
仅在MacOS 12 Monterey中添加,并且在Big Sur中不起作用。
I want to programmatically add to the toolbar the "star.fill" symbol in multicolor yellow mode.
I can do it via Xcode/IB properties.
But I don't understand how to do it programmatically, because NSSymbolConfiguration - configurationPreferringMulticolor
is only added in macOS 12 Monterey and doesn't work in Big Sur.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论