
hello,
how can we Take screenshot from code in iphone ??

hii,
I am giving some code for taking screenshot from code
and you have to include QuartzCore.framwork in you group
#include <QuartzCore/QuartzCore.h> UIGraphicsBeginImageContext(Background.bounds.size); [Background.window.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); UIImageWriteToSavedPhotosAlbum(viewImage, nil, nil, nil);
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.