在重新打开应用程序后出现问题时,i1-i5值全部替换为user_cur_inv值。找不到为什么会这样。
链接到代码: https://github.com/sleedham1991/FantasyTrader/blob/master/src/main.c
答案 0 :(得分:0)
这些常量都是键,而不是值。让它们独一无二,问题就解决了。
请参阅https://developer.pebble.com/docs/c/Foundation/Storage/#persist_write_int