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

            vc.ModalPresentationStyle = UIModalPresentationStyle.FullScreen;
            return(vc);
        }
Example #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);
        }