title: Convert a xamarin.forms.view to an uiview ...?
body: <p>I work on a xamarin.iOS project and I need to convert a Xamarin.Forms.View to an UIView. I managed to do what I want on Android, but not on iOS.
  I have tried to use this method found <a href="http://www.michaelridland.com/xamarin/creating-native-view-xamarin-forms-viewpage/" rel="nofollow">here</a>:</p>
  
  <pre><code>public static UIView ConvertFormsToNative(Xamarin.Forms.View view, CGRect size)
  {
      var renderer = RendererFactory.GetRenderer (view); 
      renderer.NativeView.Frame = size; 
      renderer.NativeView.AutoresizingMask = UIViewAutoresizing.All;
      renderer.NativeView.ContentMode = UIViewContentMode.ScaleToFill; 
      renderer.Element.Layout (size.ToRectangle()); 
      var nativeView = renderer.NativeView; 
      nativeView.SetNeedsLayout ();
      return nativeView;
  }
  </code></pre>
  
  <p>But it's not work in my project ...</p>
  
  <p>Thank you in advance for your help !</p>