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; } }
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; } }