Why my UIScrollView content was blurred?
This is because the frame and center (x and y) is not correct by calculation (int and float)
To fix this problem, use round() function
center = label.center;
center.y = self.center.y - self.frame.origin.y;
center.x = center.x;
label.center = center;
frame = label.frame;
frame.origin.x = round(offset);
frame.origin.y = round(frame.origin.y);
labe].frame = frame;
Log in to answer.
Copyright © dBuggr.com - All Rights Reserved.