-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Description
Hi,
I been using your control for one of my project. Since I started using sdk 8 its been crashing my app.. The issue is in SMPageControl - - (void)_renderPages:(CGContextRef)context rect:(CGRect)rect
The error is thrown when we try to navigate the images.
The code that is throwing the error
yOffset = [self _topOffsetForHeight:image.size.height rect:rect];
CGFloat centeredXOffset = xOffset + floorf((_measuredIndicatorWidth - image.size.width) / 2.0f);
[image drawAtPoint:CGPointMake(centeredXOffset, yOffset)];
indicatorRect = CGRectMake(centeredXOffset, yOffset, image.size.width, image.size.height);
Not sure how to fix it. I ended up using the code in the else statement. Seems to be working for me for now
Thanks in advance
Metadata
Metadata
Assignees
Labels
No labels