Skip to content

encrypt image resource in iOS Project without change code.

Notifications You must be signed in to change notification settings

wyanassert/WYCommonImageManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

WYCommonImageManager

encrypt image resource in iOS Project without change source code.

Based on RNCryptor and CXYRNCryptorTool

  1. Run CXYRNCryptor.app in Project directory and click + button to add images, and then encrypt.
  2. choose save directory and encrypt data, including xxxx.cxy files and a plist named with current date.
  3. the plist in step 2 descibe which picture was transformed to which encrypted file.
  4. create new folder , rename as Target.bundle or other name you like.
  5. add encrypted files in steps 2 into Target.bundle.
  6. add bundle into yout project.
  7. import CommonImageManager.h in appDelegate.h.
  8. in

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions,

add
[[CommonImageManager sharedInstance] configureBundlesName:@[@"Target", @"Other Name you Like"]];

  1. run demo to see how to work in iOS project.

About

encrypt image resource in iOS Project without change code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published