iOS_Error_Attempted to dereference an invalid ObjC Object or send it an unrecognized selector.

 album = responseObject[@"album"];

 

是我将一个字典直接赋值给了对象

改为如下即可

 

[album setValuesForKeysWithDictionary:responseObject[@"album"]];

你可能感兴趣的:(iOS错误Error,Xcode,iOS)