Beispiel #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));
            }
        }
Beispiel #2
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));
        }