Ipad 仅当使用设备时,iOS copyWithZone选择器无法识别

Ipad 仅当使用设备时,iOS copyWithZone选择器无法识别,ipad,ios5,copywithzone,Ipad,Ios5,Copywithzone,我正在开发一款iPad应用程序,它只在sqlite DB中有特定数据时才会启动初始屏幕,如下所示: if ((int)[MyStore sharedInstance].mode < 0) { self.connectionSettingsViewController = [[[ConnectionSettingsViewController alloc] initWithNibName:@"ConnectionSettingsModalViewController" bundle

我正在开发一款iPad应用程序,它只在sqlite DB中有特定数据时才会启动初始屏幕,如下所示:

if ((int)[MyStore sharedInstance].mode < 0) 
{
    self.connectionSettingsViewController = [[[ConnectionSettingsViewController alloc] initWithNibName:@"ConnectionSettingsModalViewController" bundle:nil] autorelease];
    self.connectionSettingsViewController.view.transform = CGAffineTransformMakeRotation(M_PI_2); 
    self.connectionSettingsViewController.delegate = self;
    self.launchScreen = [[[UIView alloc] initWithFrame:CGRectMake(-256, 0, 1024, 768)] autorelease];
    [self.launchScreen addSubview:self.connectionSettingsViewController.view];
    [self.window addSubview:self.launchScreen];
}

UIViewController未实现NSCopying协议。除非您在自己的UIViewController子类中实现了NSCopying,否则视图控制器不会响应
-copyWithZone:

UIViewController不实现NSCopying协议。除非您在自己的UIViewController子类中实现了NSCopying,否则视图控制器将不会响应
-copyWithZone:

[someViewController copyWithZone:] unrecognized selector sent to instance.