You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: