unable to save plist ios

前端 未结 3 1413
慢半拍i
慢半拍i 2021-01-26 13:53

I m able to save the plist file in Simulator but I m not able to save the Plist file in the device. Any suggestion.

I m using

NSString* dictPath = [[NSB         


        
3条回答
  •  野性不改
    2021-01-26 14:10

    Generally you would store these in ~/Documents or in ~/Library depending on the file. The question What is the documents directory (NSDocumentDirectory)? includes the documentation links and sample code you need to understand this.

提交回复
热议问题