码迷,mamicode.com
首页 > 其他好文 > 详细

UIButton

时间:2015-01-26 21:01:07      阅读:130      评论:0      收藏:0      [点我收藏+]

标签:

typedef NS_OPTIONS(NSUInteger, UIControlState) {

    UIControlStateNormal        = 0,                             //常态 

    UIControlStateHighlighted  = 1 << 0,                    // used when UIControl isHighlighted is set 高亮

    UIControlStateDisabled      = 1 << 1,                    //禁用

    UIControlStateSelected      = 1 << 2,                    // flag usable by app (see below) 选中

    UIControlStateApplication  = 0x00FF0000,             // additional flags available for application use  当应用程序标志使用时

    UIControlStateReserved     = 0xFF000000              // flags reserved for internal framework use  为内部框架预留的

};

UIButton

标签:

原文地址:http://www.cnblogs.com/pjl111/p/4251162.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!