09 2015 档案
摘要:1. activityIndicatorViewStyle 设置指示器的样式: UIActivityIndicatorViewStyleWhiteLarge UIActivityIndicatorViewStyleWhite (默认样式) UIActivityIndicatorVie...
阅读全文
摘要:1.segmentedControlStyle设置segment的显示样式。 1 typedef NS_ENUM(NSInteger, UISegmentedControlStyle) 2 { 3 UISegmentedControlStylePlain, // large plain 系...
阅读全文
摘要:1.UIButton状态:UIControlStateNormal // 正常状态UIControlStateHighlighted // 高亮状态UIControlStateDisabled // 禁用状态UIControlStateSelected // 选中状态UIControlStateAp...
阅读全文
摘要:1.Locale 设置DatePicker的地区,即设置DatePicker显示的语言。1 // 1.跟踪所有可用的地区,取出想要的地区2 NSLog(@"%@", [NSLocale availableLocaleIdentifiers]);3 4 // 2. 设置日期选择控件的地区5 [dat...
阅读全文
摘要:1. numberOfComponents:返回UIPickerView当前的列数NSInteger num = _pickerView.numberOfComponents;NSLog( @"%d", num);2. - (NSInteger)numberOfRowsInComponent:(NS...
阅读全文