1

I want to change the size of the current page dot in a page control. How can I do that? The remaining dots should remain their default size.

I want this result:

enter image description here

Eric Aya
  • 69,473
  • 35
  • 181
  • 253
Ilie
  • 23
  • 5
  • 1
    see this for e.g https://stackoverflow.com/questions/42432731/increase-the-size-of-the-indicator-in-uipageviewcontroller-using-swift-3 – Anbu.Karthik May 11 '18 at 11:58
  • I should be more specific, I want to change dot's radius just for the current page, the remaining dots, they are the same (default size) – Ilie May 11 '18 at 12:03
  • Your question isn't about the radius but about the size of the dot (changing radius would mean that the dot isn't round anymore). – AnthoPak May 11 '18 at 12:05
  • No, the question is correct. The radius of a circle (the dot) is what gives the size of the circle, half the diameter. Changing the radius of a circle keeps it a circle. – claude31 May 11 '18 at 12:13
  • You can take two images for that as per this answer. https://stackoverflow.com/questions/38869171/custom-uipagecontrol-with-dot-images – Khushbu May 11 '18 at 12:33
  • I found a way to do it. The problem is that two syntax are written in swift 2.0 and I cant figure it out. This they are: for var i=0; i – Ilie May 16 '18 at 12:19

0 Answers0