I want to ask a question about the objective C. Does the NSString * contains some functions to check the NSString * contains some string in the UITextField.text? For example
NSString *checkString = @"abcd%"
if(checkString contains '%') // I want this function
return YES;
else
return NO;
You can use
- (NSRange)rangeOfString:(NSString *)aString. The code will look something like: