开发者

Array in Monotouch NSUserDefaults

开发者 https://www.devze.com 2023-01-04 10:47 出处:网络
Does anyone know how to store an array in Monotouch NSUserDefaults? One possible method: NSUserDefaults.StandardUserDefaults[\"Array\"] = new NSObject();

Does anyone know how to store an array in Monotouch NSUserDefaults?

One possible method:

NSUserDefaults.StandardUserDefaults["Array"] = new NSObject();

But how do I turn an array or list into开发者_运维问答 an NSObject?


Use Monotouch.Foundation.NSArray. You will probably initialize it with static FromNSObjects().

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号