Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一些应用程序更改了“添加小部件”按钮的颜色。如何更改按钮的颜色?
从WWDC Notes WidgetBackground中了解有用的信息也会影响小部件的其他区域,例如在编辑Intent基于小部件的过程中翻转小部件的颜色。
WidgetBackground
Intent
更改WidgetBackgroundin的颜色Assets.xcassets。
Assets.xcassets