iOS - 应用程序 NSUserDefault 中的对象存储在哪里?
iOS - Where is object stored in application NSUserDefault?
我大部分时间都在我的应用程序中使用 NSUserDefault,但我找不到它存储对象的位置(存储意味着它在应用程序中的某处)。我用谷歌搜索但找不到位置。它存储在哪里?谢谢!
Library/Preferences
/Users/tomhsu/Library/Application Support/iPhone Simulator/7.1/Applications/835DED9B-A3FE-4E77-ABD6-A198E0940243/Library/Preferences/xxxxxxx.plist
使用this打开它
非常准确的答案是
CoreSimulator/Devices/->device id<-/data/Library/Preferences
Where is NSUserDefault storing?
NSUserDefault Stored in
Where is the [NSUserDefaults standardUserDefaults] file stored on the Mac?
我大部分时间都在我的应用程序中使用 NSUserDefault,但我找不到它存储对象的位置(存储意味着它在应用程序中的某处)。我用谷歌搜索但找不到位置。它存储在哪里?谢谢!
Library/Preferences /Users/tomhsu/Library/Application Support/iPhone Simulator/7.1/Applications/835DED9B-A3FE-4E77-ABD6-A198E0940243/Library/Preferences/xxxxxxx.plist
使用this打开它
非常准确的答案是
CoreSimulator/Devices/->device id<-/data/Library/Preferences
Where is NSUserDefault storing?
NSUserDefault Stored in
Where is the [NSUserDefaults standardUserDefaults] file stored on the Mac?