判断NSString字符串为空


判断NSString字符串为空

1
2
3
[yourTextString isEqualToString:@""]

yourTextField.text.length == 0