ios - Change transparency of dots in a UIPageViewController -
i have uipageviewcontroller transparent background , i'm wondering if can make non-selected page dots opaque. they're current translucent , can see background through them.
is possible?
i haven't tried it, there's pageindicatortintcolor , currentpageindicatortintcolor, both of take uicolor can set alpha. although docs warn:
no alpha applied property you. recommended (but not required) color specify parameter contains transparency–i.e. alpha value should less 1.0.
Comments
Post a Comment