Possible Duplicate:
Understanding NSString comparison in Objective-C
I've used this simple code for several releases of an app, and until iOS 6 the string comparison has worked but now it fails -Why?
if(selectedCell.textLabel.text==@"Font"){
    NSLog(@"going to dofontpicker");
    [self doFontPicker];
}else if(selectedCell.textLabel.text==@"Color"){
    NSLog(@"going to do colorpicker");
    [self doColorPicker];
}