Maximum size of objects that can be stored in NSUserDefaults

前端 未结 2 466
梦谈多话
梦谈多话 2021-02-07 16:50

Can anyone please tell me the maximum size of NSUserDefaults. Means objects or primitives we can store in userdefaults. for example 10 MB etc.

Thanks

2条回答
  •  离开以前
    2021-02-07 17:05

    No, there is no size limit to NSUserDefaults, aside from the storage capacity of the device itself.

    see NSUserDefaults storage size capacity

提交回复
热议问题