예제 #1
0
        private static void _composeViewCompleted(SLComposeViewControllerResult result)
        {
            if (UIApplication.deviceRootViewController != null)
            {
                UIApplication.deviceRootViewController.DismissViewController(true, null);
            }

            if (_postCompletedHandlers != null)
            {
                _postCompletedHandlers(null, new PostCompletedEventArgs(result == SLComposeViewControllerResult.Done));
            }
        }
예제 #2
0
파일: SocialXT.cs 프로젝트: BiDuc/u3dxt
        private static void _composeViewCompleted(SLComposeViewControllerResult result)
        {
            if (UIApplication.deviceRootViewController != null)
                UIApplication.deviceRootViewController.DismissViewController(true, null);

            if (_postCompletedHandlers != null)
                _postCompletedHandlers(null, new PostCompletedEventArgs(result == SLComposeViewControllerResult.Done));
        }