xamarin - mvvmcross ios lock portrait orientation for specific MvxViewController -


i have solution in xamarin mvvmcross support ios portrait , landscape screen orientations. ios 8.0 add new mvxviewcontroller lock on portrait mode. searched in internet examples ios swift, xamarin forms of not applied mvvmcross solution there way how can lock portrait mode 1 screen xamarin mvvmcroos?

thank you

this no different normal viewcontroller.

public override bool shouldautorotate() => false; public override uiinterfaceorientationmask getsupportedinterfaceorientations() =>      uiinterfaceorientationmask.portrait; 

Comments

Popular posts from this blog

java - How to handle special characters while unmarshalling xml in JAXB -

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -