Search code examples
iosswiftcore-dataswiftdata

Can user modify their own iOS SwiftData/CoreData SQLite data directly with some tools in their devices?


I'm making an iOS app with In-App purchase, thinking about storing user's plan selection in SwiftData.

I wonder if it's possible that an user can modify SwiftData SQLite data directly with some editor tools.

If it's possible, I cannot use SwiftData/CoreData for storing user's plan selection.

Is this possible or not?


Solution

  • yes it is very possible for a user to modify the data directly if they have access to the device and the necessary tools to modify the data, they could manipulate the database. using swiftdata is a 'good' choice for ios, but it comes with huge risks.