I would like UIPageView control to highlight the rightmost dot when its currentPage
property is zero in right-to-left languages like Arabic.
First page in iOS 9:
It works like that out of the box in iOS 9 so I do not need to do anything. But in iOS 8 it shows the highlighted dot on the left which can be confusing for people who use right-to-left languages.
First page in iOS 8:
Question: is there a way to make UIPageControl highlight the rightmost dot for the first page in right-to-left languages in iOS 8 as well? I would like to achieve consistent behaviour when the app is run in both iOS 8 and iOS 9.
Probably the easiest thing to do would be to flip the control’s view:
pageControl.transform = CGAffineTransformMakeScale(-1, 1);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With