ios - UIView duplicate -
I need to duplicate a view, with all the subwigs.
Does anyone know how to do this? The simplest (but probably not fastest way) is the easiest way to store and un-archive it in a NSDT object?
NSDTa * tempArchive = [NSKEADArchive ArchiveDatabaseAbject: MyView]; UIView * myViewDuplicate = [NSKeyedUnarchiver Unstatable Object Withdetectivity: TempArchive];
Comments
Post a Comment