private void CropAndRotate(object sender, EventArgs e) { var config = SBSDKUICroppingScreenConfiguration.DefaultConfiguration; var controller = SBSDKUICroppingViewController.CreateNewWithPage(PageRepository.Current, config, handler); controller.ModalPresentationStyle = UIModalPresentationStyle.FullScreen; PresentViewController(controller, false, null); }
public override void DidFinish(SBSDKUICroppingViewController viewController, SBSDKUIPage changedPage) { Finished?.Invoke(this, new CroppingFinishedArgs { Page = changedPage }); }