iOS framework/bundle with replaceable assets -


i trying make ios framework basic ui-controls. want users re-skin theme of controls therefore loading assets, storyboards , xibb files asset bundle.

i using image.xcassets assets. bundle generation changes assets.car

i want assets replaceable within bundle users re-skin. proper way achieve that?

resources / images assets added app bundle. cannot add in bundle framework @ runtime ( user cannot change skin bundle )

you can achieve 2 ways

  1. at launch, check whether image files exist in documents directory. if not, copy bundle images document folder.

  2. check name of images why loading bundle after check local / documents folder same copy of image , use new skin of user wish .


Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -