判断输入框字符是否全部为空格或者换行
[[self.textView.text stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] length] == 0
判断输入框字符是否全部为空格或者换行
[[self.textView.text stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] length] == 0
本文标题:iOS开发——判断输入框字符是否全部为空格或者换行
本文链接:https://www.haomeiwen.com/subject/qnffvxtx.html
网友评论