CLBeaconRegion
是否可以通过 a将 Array 添加到a setValue forKey
?
我试图添加它:
[regionAdvert setValue:haveArray forKey:@"advertArray"];
但我只收到以下错误:
> Terminating app due to uncaught exception 'NSUnknownKeyException',
> reason: '[<CLBeaconRegion 0x15379600> setValue:forUndefinedKey:]: this
> class is not key value coding-compliant for the key advertArray.'