Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Xamarin Forms: access the stacklayout in IOS renderer & add native controls inside it

$
0
0

Hi All,

Is there a way we can access the Forms Layout (Grid, StackLayout, Frame etc designed in Forms using XAML) on an IOS renderer & add a native control inside it (Say add a Native UIImageView)?

I understand that we can write a custom renderer for the Image View & then change its source in IOS native renderer, but in our case we need to create an entire page renderer.

To keep you in context, we are trying to create a XAML based page in forms & create a Page Renderer in IOS for this, so we have access to all controls of this forms page in renderer. Now we need to create a native control (Camera Streaming in fact but let’s consider a simple UIImageView to keep things simple) & add it inside the layout (Grid, Stacklayout, Frame etc) that we created in Forms using XAML on this page..

Any ideas how this can be done?

Thanks for your help.
ST


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>