carekit-apple/CareKit

Change background colour

ykworld opened this issue · 4 comments

Hello,

I would like to change the background colour from grey to white. How can I change it?

Thanks!

Hi! Which View Controller are you using in CareKit?

Hi! Which View Controller are you using in CareKit?

I am using OCKListViewController and OCKDailyPageViewController. Can I change the background color?

[](url
Screen Shot 2022-08-11 at 9 40 39 AM
)

I want to change the grey background color.

The underlying view used in the OCKDailyPageViewController is private to the framework. If you'd like to change the background color, you can modify the view in the framework directly.

On the other hand, the OCKListViewController does support modifying the background color outside of the framework -
listViewController.view.backgroundColor = ...

Let me know if that works for you.