简体   繁体   中英

Android Activity or iOS ViewController inside of Xamarin Forms ContentPage

I have a Xamarin Forms ContentPage with StackLayout. I also have a Native Android Activity, and a Native iOS ViewController. I want to display the Android Activity or iOS ViewController inside of my StackLayout (below my other content) depending on the OS. Is this possible, if yes how can i do it?

At this time Xamarin.Forms only allows you to insert Native Views (UIView, and Android.Widget.View) , take a look at those examples of add native controls to Xamarin Forms:

iOS Android

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM