I am building an app with several UIViews
which are generated dynamically, based on user inputs. These UIViews
may contain labels, images and text. They take some time to generate so I would like the user to be able to load them up quickly on future launches of the app without having to redraw them again. One requirement is that they need to keep their interactive state so the user can continue to edit them.
I looked into NSKeyedArchiver
but this doesn't seem to support UIImage
. Also, I can't save it as PNG since I would like to retain their interactive state.
Is there any way to do this?