去除用户输入内容中的空格 2017-05-18 本文已影响5人 爱吃萝卜的小蘑菇 NSString *str = [self.textField.text stringByReplacingOccurrencesOfString:@" " withString:@""];