I make ios7 apps.
And this app can capture. but it's white noise in addsubview images.
Please help me.
iOS6 and iOS5 is Not has white noise.
This is my code.
CGRect rect = [[UIScreen mainScreen] bounds];
UIGraphicsBeginImageContextWithOptions(rect.size, NO, 0);
CGContextRef ctx = UIGraphicsGetCurrentContext();
CGContextFillRect(ctx, rect);
[self.view.layer renderInContext:ctx];
NSdate pngData = UIImagePNGRepresentation (UIGraphicsGetImageFromCurrentImageContext ());
I use alpha png image in UIimage. And addSubview on view.