Can I Hide images from bundle resource or framework in iOS

隐身守侯 提交于 2020-01-03 05:00:10

问题


I have a project converted to a framework, and a bundle resource which has many images and storyboard. Everything works perfectly fine. My question is can I hide or protect these images from being replaced in the bundle resource? I want to give access to only some images, rest of them i want to hide it. is it possible?


回答1:


You can convert image to NSData, encrypt, compress it. You can also convert it to base 64, encrypt it, etc.



来源:https://stackoverflow.com/questions/21421888/can-i-hide-images-from-bundle-resource-or-framework-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!