Created
December 15, 2013 09:32
-
-
Save oliverbarreto/7970805 to your computer and use it in GitHub Desktop.
settings the appearance of cerrtain Type of controlls in a cerrtain container instead of globally settings in every container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UIPageControl *pageControl = [UIPageControl appearanceWhenContainedIn:[MyViewController class], nil]; | |
| pageControl.pageIndicatorTintColor = [UIColor whiteColor]; | |
| pageControl.currentPageIndicatorTintColor = [UIColor redColor]; | |
| pageControl.backgroundColor = [UIColor blackColor]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UIPageControl *pageControl = [UIPageControl appearanceWhenContainedIn:[MyViewController class], nil]; | |
| pageControl.pageIndicatorTintColor = [UIColor whiteColor]; | |
| pageControl.currentPageIndicatorTintColor = [UIColor redColor]; | |
| pageControl.backgroundColor = [UIColor blackColor]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment