首页 > 代码库 > 自制View对象

自制View对象

?Mark一下

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



?

自制View对象