我尝试保存 MPMediaPlaylist 的 NSArray
[[NSUserDefaults standardUserDefaults] setObject:self.playlistArray forKey:@"playlist"];
[[NSUserDefaults standardUserDefaults] synchronize];
但我有错误
-[NSUserDefaults setObject:forKey:]: Attempt to insert non-property value '(
"<MPConcreteMediaPlaylist: 0x1e8614a0>"
)' of class '__NSArrayM'. Note that dictionaries and arrays in property lists must also contain only property values.
2013-06-26 20:06:44.393 Fitness[5326:907] (
"<MPConcreteMediaPlaylist: 0x1e8614a0>"
)
那么我该如何解决这个问题呢?
谢谢你