if you are going to take a snapShot of a view in ios and resultant image is blurred please change your code to following.
CGRect rect = [ScreenShotView bounds];
UIGraphicsBeginImageContext(rect.size);
Please change this with below code:
UIGraphicsBeginImageContextWithOptions(rect.size, NO, [[UIScreen mainScreen] scale]);
Now the resultant image is not blurred.
0 Comment(s)