判断后台传过来的字符串为空
2017-03-24 本文已影响19人
BigBossZhu
if ((_token==nil)||(_token==NULL)||([_token isKindOfClass:[NSNull class]])||([[_token stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] length]==0)) {
}