Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何创建一个从应用商店下载时已在其沙箱中加载信息的应用,而不是在 ios 设备上首次启动时创建并保存到其沙箱中?
创建一个 .plist 文件并将其添加到您的项目中。默认情况下,plist 的根对象是字典。在运行时,在主包中找到该文件并使用dictionaryWithContentsOfFile:它来加载它。
dictionaryWithContentsOfFile: