百分号在objc中是%%,
例如:
NSString *criteria = [NSString stringWithFormat:@"WHERE username LIKE '%@%%'",name];