Ios 运行场景(场景工具包)?

Ios 运行场景(场景工具包)?,ios,scenekit,apple-watch,Ios,Scenekit,Apple Watch,是否可以在Apple Watch上运行此代码: SCNScene *scene = [SCNScene sceneNamed:@"art.scnassets/ship.dae"]; // retrieve the ship node SCNNode *ship = [scene.rootNode childNodeWithName:@"ship" recursively:YES]; // animate the 3d object [ship

是否可以在Apple Watch上运行此代码:

 SCNScene *scene = [SCNScene sceneNamed:@"art.scnassets/ship.dae"];        
    // retrieve the ship node
    SCNNode *ship = [scene.rootNode childNodeWithName:@"ship" recursively:YES];

    // animate the 3d object
    [ship runAction:[SCNAction repeatActionForever:[SCNAction rotateByX:0 y:2 z:0 duration:1]]];

    // retrieve the SCNView
    SCNView *scnView = (SCNView *)self.view;

    // set the scene to the view
    scnView.scene = scene;

    // allows the user to manipulate the camera
    scnView.allowsCameraControl = YES;

    // show statistics such as fps and timing information
    scnView.showsStatistics = YES;
我不能把场景放在主控制器上

SCNView *scnView = (SCNView *)self.view;

请帮忙。

为Apple Watch制作应用程序的唯一方法是WatchKit。WatchKit不包括在手表上显示任何iOS视图的功能,只包括WatchKit框架中定义的特定UI控件集。有关详细信息,请参阅