摘要:
UISlider *aslider = [[UISlider alloc]initWithFrame:kCR(50, 50, 200, 200)]; [aslider setValue:0.5]; [aslider setThumbImage:[UIImage imageNamed:@"ssuibian .png"] forState:UIControlStateNormal]; [aslider setThumbImage:[UIImage imageNamed:@"ssuibian .png"] forState:UIControlStateHigh 阅读全文
摘要:
方法一: UILabel *mindName = [[UILabel alloc]initWithFrame:kCR(0, 0, 25,40)]; mindName.text = @"苏\n小\n明"; mindName.numberOfLines = [mindName.text length]; 方法二:// NSString *text = @"一";// NSString *strText = @"苏得强";// UIFont *font = [UIFont systemFontO... 阅读全文