菜鸟教程小白 发表于 2022-12-12 19:51:32

ios - PaintCode Canvas 的最佳宽度和高度是多少?


                                            <p><p>我正在使用 Xcode 7 开发一款适用于所有 iPhone 屏幕的应用。我正在使用 PaintCode 2 来设计用户界面。但是我对在 UIView 上渲染界面时适合所有屏幕尺寸而不会丢失任何细节的最佳高度和宽度感到困惑。</p>

<p>有人可以建议我设计的最佳 Canvas 尺寸吗?</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>如果您想在 PaintCode 中设计应用程序,最好的方法可能是使用 Frames。通过设置调整大小行为,您可以获得所有 iPhone 屏幕尺寸的最佳布局。然后,您可以使用一个 Canvas 作为主要 Canvas ,并使用其他尺寸的 SymbolCanvas 。见附图。</p>

<p> <img src="/image/k5bmR.png" alt="enter image description here"/> </p>

<p>请记住,在 PaintCode 中设计整个屏幕时,不能直接从代码中使用它。但是,它允许您将设计分解为条形图、按钮、图标和其他控件,这些控件既可以在您的组合设计中使用,也可以在代码中使用<strong>和</strong>(使用 StyleKit)。</p>

<p>有些人甚至使用 PaintCode 来生成 App Store 屏幕截图,而不是对正在运行的应用进行快照。</p>

<p>链接:</p>

<ul>
<li> <a href="https://www.paintcodeapp.com/documentation/frames" rel="noreferrer noopener nofollow">Documentation for Frames</a> </li>
<li> <a href="https://www.paintcodeapp.com/documentation/using-symbols" rel="noreferrer noopener nofollow">Documentation for Symbols</a> </li>
<li> <a href="https://www.paintcodeapp.com/documentation/stylekits" rel="noreferrer noopener nofollow">Documentation for StyleKit</a> </li>
</ul></p>
                                   
                                                <p style="font-size: 20px;">关于ios - PaintCodeCanvas 的最佳宽度和高度是多少?,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/37093263/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/37093263/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - PaintCode Canvas 的最佳宽度和高度是多少?