0
Wie kann ich einen Screenshot programmgesteuert in das iPhone SDK machen?wie kann ich einen scennshot programmatisch machen? im iphone sdk 4.2?
Wie kann ich einen Screenshot programmgesteuert in das iPhone SDK machen?wie kann ich einen scennshot programmatisch machen? im iphone sdk 4.2?
Spaß haben
UIGraphicsBeginImageContext(self.view.bounds.size);
[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *myScreenshot = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
möglich Duplikat [Take Screenshot von Code] (http://stackoverflow.com/questions/3945800/take-screenshot-from-code) –