I am looking for a way to apply custom fonts and colors to context menus. I was able to change UIAction text color with the appearance manager:
[[[UILabel class] appearanceWhenContainedInInstancesOfClasses:@[NSClassFromString(@"_UIContextMenuActionView")]] setTextColor:[UIColor greenColor]];
But doing the same with the font does not work for me:
[[[UILabel class] appearanceWhenContainedInInstancesOfClasses:@[NSClassFromString(@"_UIContextMenuActionView")]] setFont:[UIFont systemFontOfSize:30]];
Similarly I cannot find a way to apply custom colors to the separator lines between UIActions or inline UIMenus.
Is there a way to do this?
Thanks.
John