zoukankan      html  css  js  c++  java
  • ios

    1.    //输入框背景色

          bar.searchBarStyle = UISearchBarStyleMinimal;

          [bar positionAdjustmentForSearchBarIcon:UISearchBarIconSearch];

          

          // 改变UISearchBar内部输入框样式

          UIView *searchTextField = nil;

          searchTextField = [[[bar.subviews firstObject] subviews] lastObject];

          // 改变输入框背景色

          searchTextField.subviews[0].backgroundColor = [UIColor purpleColor];

      //    searchTextField.layer.cornerRadius = 5.0;

          

  • 相关阅读:
    设计模式-状态模式(25)
    设计模式-访问者模式(24)
    设计模式-观察者模式(22)
    设计模式-中介者模式(21)
    设计模式-行为型模式小结(20)
    设计模式-迭代器模式(19)
    Tomcat安装
    MySQL单表查询
    MySQL表操作
    MySQL表的完整性约束
  • 原文地址:https://www.cnblogs.com/shenlaiyaoshi/p/7905071.html
Copyright © 2011-2022 走看看