应用中有RSS,需要把标题中的字母转换为大写字母,能提供简单的方法么?谢谢
这样就行了
在cellForRow AtIndexPath
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell" forIndexPath:indexPath];
NSString *string1 = @"The quicK brOwn fox jumpeD";
cell.textLabel.text = [string1 uppercaseString];
....