Write/Read plist file iPhone

前端 未结 2 1098
暗喜
暗喜 2021-02-06 11:32

I have plist in my iphone app and I want to read and write an integer from my single to and form it.

I have this to read it:

 scoreData *score = [scoreD         


        
2条回答
  •  情话喂你
    2021-02-06 12:19

    See if this answers your question:

    How to create a new custom property list in iPhone Applications

    You could use NSUserDefaults but of course highScore isn't really a default.

提交回复
热议问题