I tried to print with the UIPrintInteractionController
on iOS, however the popover is not showing up when i call PresentFromRectInViewAsync
. The screen gets dark and i can also dismiss the ( not visible ) popover by just clicking somewhere on the screen.
This is basically what i did:
controller.PresentFromRectInViewAsync(Helper.GetTopView().Frame, Helper.GetTopView(), false);
Where Helper.GetTopView()
is:
UIViewController controller = UIApplication.SharedApplication.KeyWindow.RootViewController;
while (controller.PresentedViewController != null)
{
controller = controller.PresentedViewController;
}
return controller.View;
Anyone tried this before?