Hiding (or encrypting) app resources?

前端 未结 3 1125
我寻月下人不归
我寻月下人不归 2021-01-02 10:15

I\'ve developing a Cocoa app that has certain resources (images) which I wish to protect, but still display. Normally one would just place these in the resources folder, bu

3条回答
  •  礼貌的吻别
    2021-01-02 10:51

    Why do you want to protect the images? It goes without saying that anything you display can be recorded with a screenshot, so if you're trying to protect the images from the person viewing them, there isn't much point.

    If you still want to protect them (say, some images should only be available to certain people), encrypting them on disk might be an option. I'm not an Objective-C guy, but this1 seems like a good place to look.

提交回复
热议问题