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 应用程序,并且我想在应用程序安装中包含一些初始内容。知道放置在主包中的内容无法修改,我应该在哪里存储这个初始内容,我怎么能把它放在那里,除了在初始启动时下载它?
主包中的内容无法修改,但它当然可以复制到用户的文档文件夹并从那里使用。在您-applicationDidFinishLaunching:或类似的启动方法中,您可以:
-applicationDidFinishLaunching: