making the arkit camera vertical rather than horizontal

后端 未结 2 437
死守一世寂寞
死守一世寂寞 2021-01-15 19:04

I am trying to make an app where the user enters some text in a textfield and then the app displays this text in front of the ar camera to the user. I positioned the text co

2条回答
  •  甜味超标
    2021-01-15 19:15

    If you mean that you don't want the orientation of the device to change along with the rotation, then:

    Go to Project > General > Deployment Info
    

    Under device orientation, uncheck all boxes except 'Portrait'.

    If this does not solve your problem and what you really want is to fix the euler angles of your text node, let me know, I'll be happy to help.

提交回复
热议问题