這裏是我的代碼: -如何大寫首字母的標籤
我需要更改Word的第一個字母大寫。
UILabel *lbl4=[[UILabel alloc]initWithFrame:CGRectMake(10, 90, 200, 30)];
lbl4.text= [NSString stringWithFormat:@"(%@)", [arrtype objectAtIndex:0]];
lbl4.font = [UIFont fontWithName:@"Helvetica" size:18];
lbl4.textColor=[UIColor blackColor];
lbl4.backgroundColor=[UIColor clearColor];
請檢查http://stackoverflow.com/a/14629780/2106973 –