camera - iPhone Screenshots -
I am using UIGetScreenImage () to get a screenshot of UIImagePickerController. Actually I use the camera overlay and then when I take a screenshot, I have a picture showing the preview of the camera and there was also my overlay on it, which is exactly what I want.
UIGetScreenImage () has been banned now, I have not been able to find a way to do this. It just shows black for the camera.
EDIT: All my other scenes look fine, not the actual camera preview. Any thoughts ??!?!?
At this time I am using that code.
UIGFFIBIGIEGGE CONTACTS (Picker.bugs.bds.image); [Elapsed. picture. Layer RenderIncontext: UIGraphicsGreatCertain Contex ()]; CGContextDrawImage (Reference, Limit, camView.CGImage); UIImage * screen image = uGraphicsGetimageFrenchIntegrateTextEX (); UIImageWriteToSavedPhotosAlbum (screen image, zero, zero, zero); UIGraphicsEndImageContext ();
Any ideas how can I get the overlay + camera image?
Thank you!
This is slightly different from yours.
CGRCT ScreenTrack = [[USScreen main screen] border]; UIGraphicsBeginImageContext (screenRect.size); [Self lear renderincontex: UigrextetCertatch Contex ()]; UIImage * sShot = UIGraphicsGetImageFromCurrentImageContext (); UIGraphicsEndImageContext (); UIImageWriteToSavedPhotosAlbum (S shot, zero, zero, zero);
Is this work?
If not, you can try to ask him because he is an expert on iPhone in all things.
Comments
Post a Comment