Mark一下

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





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