BuildItArSample.iOS.ViewController.RotationChanged C# (CSharp) Method

RotationChanged() private method

private RotationChanged ( NSNotification notification ) : void
notification NSNotification
return void
        private void RotationChanged(NSNotification notification)
        {
            //Reset the world
            var currentOrientation = UIApplication.SharedApplication.StatusBarOrientation;
            world.Initialize(pois);
            cameraFeedUtility?.UpdatePreviewRotation(currentOrientation);
        }