简体   繁体   English

如何嵌入小型相机预览,然后将整个屏幕快照图像保存在iPhone中

[英]How to embed a small camera preview, and then save the whole screenshot image in iphone

I want to put a background image first, and then put a small camera preview view on the top of it. 我想先放置一个背景图像,然后在其顶部放置一个小的相机预览视图。

When user clicked the ok button, a screenshot of the whole merged picture could be reproduced. 当用户单击“确定”按钮时,可以复制整个合并图片的屏幕截图。 I remember that some apps in appstore did this, just want to know how to achieve this in code. 我记得appstore中的某些应用程序是这样做的,只是想知道如何在代码中实现这一点。

Place your background image.. Over that place your imagepicker controller.. 放置您的背景图片。在那上面放置您的图像选择器控制器。

take screenshot using UIGetScreenImage 使用UIGetScreenImage

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM