Mark一下

- (UIView*)duplicate:(UIView*)view
{
  NSData * tempArchive = [NSKeyedArchiver archivedDataWithRootObject: view];
  return [NSKeyedUnarchiver unarchiveObjectWithData: tempArchive];
}





posted on 2015-01-22 16:19  М80メ  阅读(297)  评论(0编辑  收藏  举报