I want to create my own iOS application with the "Jib" element of the WebView, but when compiling in the simulator I get an error with the error:
Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan nan]'
This is my ViewDidLoad code
- (void)viewDidLoad { [super viewDidLoad]; CDVViewController* viewController = [CDVViewController new]; viewController.view.frame = CGRectMake(0, 40, 320, 450); [self.view addSubview:viewController.view]; }
source share