Example #1
0
        public override void LoadView()
        {
            //by default use the MainScreen Bounds so Effects can access the Container size
            if (_pageContainer == null)
            {
                var bounds = UIApplication.SharedApplication?.GetKeyWindow()?.Bounds ??
                             UIScreen.MainScreen.Bounds;

                _pageContainer = new PageContainer(this)
                {
                    Frame = bounds
                };
            }

            View = _pageContainer;
        }