Revision 3a8071d4 Classes/SettingsViewController.m
b/Classes/SettingsViewController.m | ||
---|---|---|
126 | 126 |
cell.detailTextLabel.text = @""; |
127 | 127 |
cell.accessoryType = UITableViewCellAccessoryNone; |
128 | 128 |
} else if (indexPath.section == aboutSection) { |
129 |
cell.textLabel.text = @"About This App"; |
|
129 |
NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary]; |
|
130 |
cell.textLabel.text = [NSString stringWithFormat:@"About This App (v%@ %@)", |
|
131 |
[infoDictionary objectForKey:@"CFBundleShortVersionString"], |
|
132 |
[infoDictionary objectForKey:@"CFBundleVersion"]]; |
|
130 | 133 |
cell.detailTextLabel.text = @""; |
131 | 134 |
cell.accessoryType = UITableViewCellAccessoryNone; |
132 | 135 |
} else { |
Also available in: Unified diff