iOS如何接收服务端返回的布尔值 if ([user[@"chat"] boolValue]) { userModel.chat = 1; }else { userModel.chat = 0; } 关键是要调用boolValue, 直接接收的话值是不对的