Клонировать или копировать UIViewController или UIView

UII нужна копия, самоконтроллер или self.view, я пробовал:

UIView* viewOfSelf =[self.view copy];
UIViewController* controller = [self copy];

UIView* viewOfSelf =[self.view mutableCopy];
UIViewController* controller = [self mutableCopy];

Ошибка:

    -[UIViewController mutableCopyWithZone:]: unrecognized selector sent to instance 0xb803490
    -[UIView copyWithZone:]: unrecognized selector sent to instance 0x6e0acb0
12
задан Davidin073 16 May 2012 в 08:04
поделиться