StepIndicator
StepIndicator copied to clipboard
Step view getting out of bounds (not centrally aligned) on iphone 5s, 6s and SE

I have the same issue. how did you solve this?
haven't solved it yet! but i noticed 1 thing if i m creating view on iphone 5 simulator and run it on iphone 8 simulator/device it will render according to iphone 5's size
On Tue, 5 Nov 2019, 6:41 AM FritzHsiao, [email protected] wrote:
I have the same issue. how did you solve this?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chenyun122/StepIndicator/issues/18?email_source=notifications&email_token=AGNYHTDISND4RZ5LJCTOPTTQSDFLFA5CNFSM4IZHWZO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDBJ53I#issuecomment-549625581, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGNYHTB36RFZCQT7KQ35I5TQSDFLFANCNFSM4IZHWZOQ .
CMSteppedProgressBar.m
CGFloat padding = (self.frame.size.width-(self.numberOfStepsself.dotsWidth))/(self.numberOfSteps+1); to CGFloat padding = (UIScreen.mainScreen.applicationFrame.size.width-(self.numberOfStepsself.dotsWidth))/(self.numberOfSteps+1);