<legend id='hKs78'><style id='hKs78'><dir id='hKs78'><q id='hKs78'></q></dir></style></legend>
    • <bdo id='hKs78'></bdo><ul id='hKs78'></ul>

    <tfoot id='hKs78'></tfoot>

    <i id='hKs78'><tr id='hKs78'><dt id='hKs78'><q id='hKs78'><span id='hKs78'><b id='hKs78'><form id='hKs78'><ins id='hKs78'></ins><ul id='hKs78'></ul><sub id='hKs78'></sub></form><legend id='hKs78'></legend><bdo id='hKs78'><pre id='hKs78'><center id='hKs78'></center></pre></bdo></b><th id='hKs78'></th></span></q></dt></tr></i><div id='hKs78'><tfoot id='hKs78'></tfoot><dl id='hKs78'><fieldset id='hKs78'></fieldset></dl></div>

      <small id='hKs78'></small><noframes id='hKs78'>

        如何将多个 UIImageView 合并为一个 UIImage

        时间:2024-04-15
      1. <i id='kkFfY'><tr id='kkFfY'><dt id='kkFfY'><q id='kkFfY'><span id='kkFfY'><b id='kkFfY'><form id='kkFfY'><ins id='kkFfY'></ins><ul id='kkFfY'></ul><sub id='kkFfY'></sub></form><legend id='kkFfY'></legend><bdo id='kkFfY'><pre id='kkFfY'><center id='kkFfY'></center></pre></bdo></b><th id='kkFfY'></th></span></q></dt></tr></i><div id='kkFfY'><tfoot id='kkFfY'></tfoot><dl id='kkFfY'><fieldset id='kkFfY'></fieldset></dl></div>
          <bdo id='kkFfY'></bdo><ul id='kkFfY'></ul>
          • <legend id='kkFfY'><style id='kkFfY'><dir id='kkFfY'><q id='kkFfY'></q></dir></style></legend>
                <tbody id='kkFfY'></tbody>

              1. <small id='kkFfY'></small><noframes id='kkFfY'>

                <tfoot id='kkFfY'></tfoot>
                  本文介绍了如何将多个 UIImageView 合并为一个 UIImage的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有 2 个 UIImageViews 彼此叠放(图片 + 覆盖框),我想将它们作为 1 张图片保存到相机胶卷中.

                  I have 2 UIImageViews laying on top of each other ( picture + overlay frame ) and I want to save them to the camera roll as 1 picture.

                  我应该如何组合这 2 个 UIImageView,以便我可以使用结果"UIImage 调用 UIImageWriteToSavedPhotosAlbum 函数?

                  How should I combine those 2 UIImageViews so that I can call the UIImageWriteToSavedPhotosAlbum function, using a 'result' UIImage?

                  推荐答案

                  我现在附近没有我的 Mac,但我以前做过.该过程是您将 UIImageView 渲染到位图上下文中,然后从该上下文创建一个 CGImage,您可以使用它来创建一个新的 UIImage来自.阅读 CGBitmapContext,包括 CGBitmapContextCreateImage

                  I don't have my Mac nearby at the moment, but I have done this before. The process is that you'll render the UIImageViews into a bitmap context, then create a CGImage from that context that you can use to create a new UIImage from. Read up on CGBitmapContext, including CGBitmapContextCreateImage

                  这篇关于如何将多个 UIImageView 合并为一个 UIImage的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  <small id='83lHt'></small><noframes id='83lHt'>

                  1. <tfoot id='83lHt'></tfoot>

                    <i id='83lHt'><tr id='83lHt'><dt id='83lHt'><q id='83lHt'><span id='83lHt'><b id='83lHt'><form id='83lHt'><ins id='83lHt'></ins><ul id='83lHt'></ul><sub id='83lHt'></sub></form><legend id='83lHt'></legend><bdo id='83lHt'><pre id='83lHt'><center id='83lHt'></center></pre></bdo></b><th id='83lHt'></th></span></q></dt></tr></i><div id='83lHt'><tfoot id='83lHt'></tfoot><dl id='83lHt'><fieldset id='83lHt'></fieldset></dl></div>
                        <tbody id='83lHt'></tbody>

                          <bdo id='83lHt'></bdo><ul id='83lHt'></ul>
                          <legend id='83lHt'><style id='83lHt'><dir id='83lHt'><q id='83lHt'></q></dir></style></legend>