Background Color
Closed this issue · 3 comments
MattW86 commented
Hello,
How can I change the background color? something like clockView1.backgroundColor = [UIColor blackColor] didn't work for me.
Thanks..
josepharthur commented
How can we change the background graphic? as a texture or an image?
nacho4d commented
Sorry for the late response. You can change the background by providing an image:
[clockView setClockBackgroundImage:[UIImage imageNamed:@"clock-background"].CGImage];
This image will be drawn in a layer which will become the first child of the clock itself. This layer covers the entirely. So unless the image has transparency doing the following has no much sense since the clock view itself is it covered and its background is not visible:
clockView1.backgroundColor = [UIColor blackColor];
For further examples please refer the README.markdown
nacho4d commented
I am closing this issue since above explanation will solve this. :)
Feel free to reopen again if needed