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.
我正在开发一个简单的 iPhone 应用程序。我想为笔尖中的 UIButton 的标题设置阴影颜色。
有人可以帮我找到笔尖中标题的设置阴影颜色吗?
谢谢和问候, 迪帕
好吧,在 Interface Builder 中,您必须选择 UIButton 并打开检查器。然后您将看到 UIButton 的不同属性。Shadow有两个属性,第一个是设置Shadow Color,另一个是设置Shadow的Offset。随心所欲地尝试一下,您会立即看到变化。
就是这样,很简单。