我正在使用条件,但它没有进入 if 条件,每次都进入 else 条件。
if ([[dict2 valueForKey:@"meeting_location"] isEqual:@""])
{
lbllocation.text = @"-----";
}
else
{
lbllocation.text = [NSString stringWithFormat:@"Location: %@",[dict2 valueForKey:@"meeting_location"]];
}
输出来自 Webservice:-
"meeting_location" = "";
"meeting_time" = "";
"meeting_with" = "";