アプリケーションの 1 つで拡張現実を有効にするために、ARKit を使用しようとしています。
これを行うことでARViewControllerを追加できます:
ParkingAppDelegate *appDelegate = (ParkingAppDelegate *)[[UIApplication sharedApplication] delegate];
arvc = [[ARViewController alloc] initWithDelegate:self];
//add the button to the view
[arvc.view addSubview:button];
[[appDelegate window] addSubview:arvc.view];
しかし、それを削除してアプリに戻ることはできません...
あなたはなにか考えはありますか ?
ありがとう