search

Home  >  Q&A  >  body text

ios更新应用后plist文件中的key还存在?

使用nsuserdefaults方式存储了一个‘data’:‘str’当更新应用后这个‘data’key依旧存在,该怎么弄呢,我是根据是否能取到值来进行相关操作的

迷茫迷茫2771 days ago386

reply all(2)I'll reply

  • PHPz

    PHPz2017-04-18 09:55:05

    Use version comparison to control

    reply
    0
  • 怪我咯

    怪我咯2017-04-18 09:55:05

    Yes, you can save the corresponding version every time. This is also controlled by version. It depends on your implementation idea

    reply
    0
  • Cancelreply