StepIndicator icon indicating copy to clipboard operation
StepIndicator copied to clipboard

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

Open AzimJavaidKhan opened this issue 5 years ago • 3 comments

Screenshot 2019-09-23 at 1 19 58 PM

AzimJavaidKhan avatar Sep 23 '19 08:09 AzimJavaidKhan

I have the same issue. how did you solve this?

FritzHsiao avatar Nov 05 '19 01:11 FritzHsiao

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 .

AzimJavaidKhan avatar Nov 05 '19 23:11 AzimJavaidKhan

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);

emadmohamedii avatar Nov 23 '19 05:11 emadmohamedii