0

私は条件を使用していますが、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" = "";
4

1 に答える 1