I am just curious to create an app which records video of iphone screen or capture images of iphone screen. I know that Apple doesn\'t allow such kinds of apps on the app store
hi you can take screenShot using this code..
UIGraphicsBeginImageContext(self.view.window.frame.size);
[BackView.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
UIImageWriteToSavedPhotosAlbum(viewImage, nil, nil, nil);