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.
如何将色调颜色设置为 uiview 背景颜色?谢谢。
设置UIView视图的backgroundColor属性:
UIView
backgroundColor
UIView *myView; UIColor *myTint; ... /* initialize myView and myTint */ ... myView.backgroundColor = myTint; ... /* release myTint, if necessary */