Is there any way to change background color of page control in tvOS?
NOTE: i want to set background color as clear color
I hav
@alexander-johmann above has a solution (though I'd like to find another way).
Ideally it would be better to be able to set the actual background color. This solution doesn't really do that; it removes elements of the UIPageControl to get the 'effect' of providing a clear background without actually doing so.
Here is an objective-c version of the same code:
for (UIView *subview in pageControl.subviews) {
if ([subview isKindOfClass:[UIVisualEffectView class]] == YES) {
[subview removeFromSuperview];
}
}