How can I take a screenshot from the code?
http://www.iphonedevsdk.com/forum/iphone-sdk-development/2353-possible-make-screenshot-programmatically-2.html
#include <QuartzCore/QuartzCore.h> UIGraphicsBeginImageContext(Background.bounds.size); [Background.window.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); UIImageWriteToSavedPhotosAlbum(viewImage, nil, nil, nil);
For the opengl es scene, this is more active: http://www.bit-101.com/blog/?p=1861
Source: https://habr.com/ru/post/1769805/More articles:Parsing and modifying a file in turn while saving EOL characters in Java - javaAndroid - indicates that the menu is available - androidimplement unix pipes in haskell - unixTwo-way WCF service operation does not return a response instead of an exception - wcfUsing 32-bit COM add-on under MS Office 64 bit - 64bitHow to configure a 32-bit VB6 application to work with 64-bit Office? - vb.netidentify documents from mahout clustering results - mahoutcsvreader.fieldnames не распознаются как атрибут объекта чтения csv в python - pythonAdd the web.config key to always redirect when you receive unhandled exceptions - c #Do timers work on startup with BackgroundWorker? - multithreadingAll Articles