public static Image RemoteRepresentation(this UIView uiview) { var scale = UIScreen.MainScreen.Scale; return(ViewRenderer.Render( uiview.Window, uiview, scale).RemoteRepresentation(scale)); }
public static UIImage Capture(UIView view, float?scale = null) { if (view == null) { throw new ArgumentNullException(nameof(view)); } return(ViewRenderer.Render(view.Window, view, scale == null ? UIScreen.MainScreen.Scale : scale.Value, skipChildren: false)); }
public UIImage Capture(float?scale = null) { return(ViewRenderer.Render(view.Window, view, scale == null ? UIScreen.MainScreen.Scale : scale.Value)); }