#stringByTrimmingCharactersInSet

iOS字符串中去除特殊符号 stringByTrimmingCharactersInSet 应该用于账号登录等

先上个例子:NSString*str1=[nameInput.textstringByTrimmingCharactersInSet:[NSCharacterSetwhitespaceAndNewlineCharacterSet]];NSString*str2=[passwdInput.textstringByTrim...