You can check the title of the framework. 
- (BOOL)containsString:(NSString *)aString NS_AVAILABLE(10_10, 8_0);
This containsString method exists only after iOS 8, so it is obvious that it will cause an error in iOS7 ....
Please use the method below for ios7, and you can use the above method for ios8:
if ([string rangeOfString:@"bla"].location != NSNotFound) { NSLog(@"charecter found"); }
Perhaps this may solve your problem. Thanks
source share