Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIPageControl.appearance() #114

Open
PH9 opened this issue Nov 24, 2019 · 1 comment
Open

UIPageControl.appearance() #114

PH9 opened this issue Nov 24, 2019 · 1 comment

Comments

@PH9
Copy link

PH9 commented Nov 24, 2019

I using these commands to set page indicator color

let appearance = UIPageControl.appearance()
appearance.pageIndicatorTintColor = .gray
appearance.currentPageIndicatorTintColor = .black

Simulator Screen Shot - iPhone 11 Pro Max - 2019-11-24 at 22.08.17

  • Left is running in the simulator it works fine.
  • Right after captured for test case it not show.
@Grubas7
Copy link

Grubas7 commented Dec 17, 2019

Check if enabling usesDrawViewHierarchyInRect helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants