Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

iOS External Display not working

$
0
0
Hi, I'm doing a project that needs external display use on iOS device. I saw that unity's Display.displays is avaliable for iOS, and it DID work on one test project. But the same code just don't work on the other project, and I tried everything to find the problem but no solution.. int currentDisplayCount=0; IEnumerator CheckExternalDisplays(){ while(true){ if(currentDisplayCount != Display.displays.Length){ Debug.Log ("# of External Displays : " + Display.displays.Length); if(Display.displays.Length > 1){ Debug.Log ("Disp1 SystemWidth, SystemHeight : " + Display.displays[1].systemWidth +"x"+Display.displays[1].systemHeight); Display.displays[1].Activate(); Display.displays[1].SetRenderingResolution(1920, 1080); Debug.Log ("Set to FHD. \nDisp1 SystemWidth, SystemHeight : " + Display.displays[1].systemWidth +"x"+Display.displays[1].systemHeight); Debug.Log ("Disp1 Resolution : "+Display.displays[1].renderingWidth+"x"+Display.displays[1].renderingHeight); for(int i=0 ; i

Viewing all articles
Browse latest Browse all 4709

Trending Articles