Package cli.MonoTouch.UIKit

Examples of cli.MonoTouch.UIKit.UIDeviceOrientation


        _currentOrientation = UIDevice.get_CurrentDevice().get_Orientation().Value;
        center.AddObserver(UIDevice.get_OrientationDidChangeNotification(),
            new cli.System.Action$$00601_$$$_Lcli__MonoTouch__Foundation__NSNotification_$$$$_(new cli.System.Action$$00601_$$$_Lcli__MonoTouch__Foundation__NSNotification_$$$$_.Method() {
                @Override
                public void Invoke (NSNotification nf) {
                    UIDeviceOrientation orient = UIDevice.get_CurrentDevice().get_Orientation();
                    if (orient.Value == _currentOrientation) return; // NOOP
                    if (!((IOSPlatform)PlayN.platform()).supportedOrients().isSupported(orient)) {
                        return; // unsupported orientation, no rotation
                    }
                    _currentOrientation = orient.Value;
View Full Code Here

TOP

Related Classes of cli.MonoTouch.UIKit.UIDeviceOrientation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.