摘要:
UIButton得父类UIControl1)创建UIButton *btn1 = [UIButton buttonWithType:UIButtonTypeRoundedRect]; 风格有如下typedef enum { UIButtonTypeCustom = 0, // 自定义,无... 阅读全文
摘要:
UIKit提供了一组控件:UISwitch开关、UIButton按钮、UISegmentedControl分段控件、UISlider滑块、UITextField文本字段控件、UIPageControl分页控件。控件是对UIView派生类的实用增强及补充,并可以直接附着于导航栏、表格单元,甚至更大的对... 阅读全文