Esempio n. 1
0
        public ScreenList(ScreenController ctrl, ScreenType screen) : base()
        {
            this.ctrl   = ctrl;
            this.engine = ctrl.Engine;
            this.type   = screen;

            // Create source for table view
            screenListSource = new ScreenListSource(this, ctrl, screen);

            // OS specific details
            if (new Version(UIDevice.CurrentDevice.SystemVersion) >= new Version(7, 0))
            {
                // Code that uses features from Xamarin.iOS 7.0
                this.EdgesForExtendedLayout = UIRectEdge.None;
            }
        }
Esempio n. 2
0
		public ScreenList (ScreenController ctrl, ScreenType screen) : base()
		{
			this.ctrl = ctrl;
			this.engine = ctrl.Engine;
			this.type = screen;

			// Create source for table view
			screenListSource = new ScreenListSource(this, ctrl, screen);

			// OS specific details
			if (new Version (UIDevice.CurrentDevice.SystemVersion) >= new Version(7,0)) 
			{
				// Code that uses features from Xamarin.iOS 7.0
				this.EdgesForExtendedLayout = UIRectEdge.None;
			}
		}