Reputation: 13
My App will require the use of about 500 images and this number could possibly grow. Those images are read-only and the user won't add any pictures while using the app.
Image sizes will probably range between 50 to 250k .
I want to prevent the images from being copied by someone exploring the bundle resources for example.
So far I am thinking of putting all the images in a SQLite database and then encrypt it using SQLCipher for example.
Does this seems a bit over the top ?
In your opinion what would be the best solution ?
Could Apple reject it ?
I understand that people can always take screenshots, etc... but I just want to make it difficult without it being a nightmare to code and use.
Cheers, Duz
Upvotes: 1
Views: 432
Reputation: 51951
You may consider cropping your images into smaller tiles and regrouping them into a bigger image when it's time to display.
In addition to the benefit of prohibiting a direct copy, it also improve performance for big images.
Refer to the Apple ScrollViewSuite
sample for implementation details.
Upvotes: 1