"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Unnecessary frame scaling in sample code

Vuforia SDK Version: ios 7.0.43 - Description with steps to reproduce: In the sample code function [code] - (CGRect)getCurrentARViewFrame { CGRect screenBounds = [[UIScreen mainScreen] bounds]; CGRect viewFrame = screenBounds; // If this device has a retina display, scale the view bounds // for the AR (OpenGL) view if (YES == vapp.isRetinaDisplay) { viewFrame.size.width *= [UIScreen mainScreen].nativeScale; viewFrame.size.height *= [UIScreen mainScreen].nativeScale; } return viewFrame; } [/code] The lines [code] if (YES == vapp.isRetinaDisplay) { viewFrame.size.width *= [UIScreen mainScreen].nativeScale; viewFrame.size.height *= [UIScreen mainScreen].nativeScale; } [/code] seem to be unnecessary. In the case of a retina display, iOS already doubles the backing store, so there's no need to double the size of the frame. I removed these lines and all the samples I tried still worked fine. - Development OS (Mac OS X, Windows, Linux): macOS Sierra 10.12.6 - Mobile OS and Version: iOS 11.0.3 - Mobile Device Manufacturer and Model name: iPhone SE - Do the Vuforia Sample Applications show the same behavior?: Yes