Resume ARSession after change device orientation

Hi,

if I pause ARSession when I'm in landscape mode and then restart it in portrait mode, the scene is still oriented in landscape. What I have to do to force refresh the orientation for the right device orientation? thanks