「Cleaver」要素 WebView を使用してネイティブ ios アプリを作成したいのですが、シミュレーターでコンパイルすると、次のエラーでクラッシュします。
Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan nan]'
それは私のコードです
- (void)viewDidLoad
{
[super viewDidLoad];
CDVViewController* viewController = [CDVViewController new];
viewController.view.frame = CGRectMake(0, 40, 320, 450);
[self.view addSubview:viewController.view];
}