NSString containsString crashes
If you want your code to work on iOS 7 as well as iOS 8 you should use one of the rangeOfString calls instead. Basically if the range returned has a length of zero, the substring is not there. /* These methods return length==0 if the target string is not found. So, to check for … Read more