예제 #1
0
        public static MessagePageViewController Create()
        {
            UIStoryboard storyboard      = UIStoryboard.FromName("MessagePage", null);
            MessagePageViewController vc = (MessagePageViewController)storyboard.InstantiateInitialViewController();

            vc.ModalPresentationStyle = UIModalPresentationStyle.FullScreen;
            return(vc);
        }
예제 #2
0
        public static UINavigationController GetMessagePageControllerInNavigationController()
        {
            UIViewController       vc = MessagePageViewController.Create();
            UINavigationController navigationController = new UINavigationController(vc);

            navigationController.SetNavigationBarHidden(true, false);
            navigationController.ModalPresentationStyle = UIModalPresentationStyle.FullScreen;
            return(navigationController);
        }