<bdo id='hnbVb'></bdo><ul id='hnbVb'></ul>
  • <small id='hnbVb'></small><noframes id='hnbVb'>

      <legend id='hnbVb'><style id='hnbVb'><dir id='hnbVb'><q id='hnbVb'></q></dir></style></legend>

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

      1. 具有自定义边框颜色的 UIButton,iPhone

        UIButton with Custom border colour, iPhone(具有自定义边框颜色的 UIButton,iPhone)

      2. <legend id='BjZkH'><style id='BjZkH'><dir id='BjZkH'><q id='BjZkH'></q></dir></style></legend>

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

            <tbody id='BjZkH'></tbody>

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

                  <bdo id='BjZkH'></bdo><ul id='BjZkH'></ul>
                • 本文介绍了具有自定义边框颜色的 UIButton,iPhone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想创建具有矩形形状的自定义 UIButton.为此,我使用矩形视图作为 UIButton 的背景并将 UIbuttons 背景颜色设置为 clearcolor.但是 UIbutton 的边框仍然存在.关于如何使边框消失的任何建议?感谢您提前提供任何帮助..

                  I want to create Custom UIButton with rectangular shape. for this I am using rectangular view as a Background for UIButton and making UIbuttons background colour as clearcolor. But border of UIbutton still remains. any suggestions on how to make border disappear? Thanks for any help in advance..

                  推荐答案

                  试试这个:

                      UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
                      [button.layer setBorderColor:[[UIColor clearColor] CGColor]];
                  

                  但不要忘记添加您的 .h 或 .m 文件

                  but don't forget to add in your .h or .m file

                  #import <QuartzCore/QuartzCore.h>
                  

                  这篇关于具有自定义边框颜色的 UIButton,iPhone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  UIButton title text color(UIButton 标题文本颜色)
                  Stretch background image for UIButton(为 UIButton 拉伸背景图像)
                  Using Tint color on UIImageView(在 UIImageView 上使用 Tint 颜色)
                  How can I change UIButton title color?(如何更改 UIButton 标题颜色?)
                  Minimum sensible button size on iPhone(iPhone 上的最小合理按钮大小)
                  iPhone UIButton - image position(iPhone UIButton - 图像位置)
                • <legend id='5iQM0'><style id='5iQM0'><dir id='5iQM0'><q id='5iQM0'></q></dir></style></legend>
                    <tfoot id='5iQM0'></tfoot>
                      <tbody id='5iQM0'></tbody>

                        <small id='5iQM0'></small><noframes id='5iQM0'>

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