App not fullscreen in an iPad


To avoid UIWebView warning, I upgrade cordova-ios to 5.1.1 and add in config.xml:

<preference name="WKWebViewOnly" value="true" />

The thing is that when I test my app in an iPad through TestFlight, the app is displayed not fullscreen. It seems like I am testing the app on a phone. But when I run the same on the device, my app is displayed fullscreen.

I think that could be for my compilation because of I made a lot of tests before upload to TestFlight and maybe any option in XCode is incorrect (I don’t remeber what I have checked). I also think that could be the new preference. Am I right?

I think that the problem was that when I had to choose a device in XCode I didn’t choose Generic iOS device. I think it was my fault. This never happened to me again.