NSString *part = self.navigationItem.title;
if (part == @"Case") {
NSLog(@"title: %@", part);
}
and it does not log the title but if I:
NSLog(@"title: %@", part);
I get:
title: Case
Is this my error? I’m definite there’s no spaces.
Any help is appreciated.
for compairing strings you have to use
isEqualToString