I wanted to bring to attention an iOS issue you may encounter that will cause reduced performance within your app. This can occur either with native iOS or Unity development.
In native development, if you are not using a storyboard, you’ll need to set the ‘backgroundColor’ field of any UIView you generate with code to ‘UIColor.clearColor’ to get around a known iOS issue. If you are using a storyboard, you will not encounter this issue and will not need to add any code.
If you’re developing in Unity, you can make this same change within the generated XCode project. Open the file called UnityAppController.mm and navigate to the ‘didFinishLaunchingWithOptions’ function. The following code is present on lines 243 and 244:
_window = [[UIWindow alloc] initWithFrame: [UIScreen mainScreen].bounds];
_unityView = [self createUnityView];
Adding the following line after these lines will resolve this issue on Unity generated projects:
_unityView.backgroundColor = UIColor.clearColor;
Keep in mind that since this is in a generated project, if you aren’t selecting to append the project when building from Unity this will be overwritten anytime you regenerate the XCode project.
Thanks for you continued interest in Vuforia,