Josh Kahane
Josh Kahane

Reputation: 17169

Customise EKEventController Style

Is is it possible to customise an EKEventViewController to look how you wish, so background colour or image, cells style and all the rest, or will it require a custom view?

Thanks.

Upvotes: 0

Views: 272

Answers (1)

Richard J. Ross III
Richard J. Ross III

Reputation: 55543

There is no built-in API for this. However, you could probably use some public apis to change this, example:

for (UIView *subView in ekViewController.view.subviews)
{
     if (subView isKindOfClass:NSClassFromString("CellClassHere"))
     {
         // example
         subView.backgroundColor = [UIColor redColor];
     }
}

Upvotes: 1

Related Questions