UIIは、コピー、自己コントローラまたはself.viewを必要とする、私は試してみました:複製またはコピーのUIViewControllerまたはUIViewの
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
「自己」のクラスは何ですか? 'MyViewController'?私はUIViewとUIViewControllerのコピーがないと思う。 – Raptor