xamarin.forms

Xamarin.forms iOS simulator not launching

孤街醉人 提交于 2021-01-27 07:46:22
问题 I have connected my windows laptop to Macbook pro late 2011 for developing xamarin.forms ios applications. My visual studio version on Widows machine is 16.7.2 with xamarin.ios version 13.20.2.2 . My xamarin.ios version on Macbook is 13.14.1.39 and Xcode version is 11.3.1(11C504) . The problem I am facing is I cannot run ios simulator on both windows and mac. I can manually open simulator on Mac. But when we run application against simulator it will build successful , but no simulator shows

Xamarin.forms iOS simulator not launching

流过昼夜 提交于 2021-01-27 07:46:09
问题 I have connected my windows laptop to Macbook pro late 2011 for developing xamarin.forms ios applications. My visual studio version on Widows machine is 16.7.2 with xamarin.ios version 13.20.2.2 . My xamarin.ios version on Macbook is 13.14.1.39 and Xcode version is 11.3.1(11C504) . The problem I am facing is I cannot run ios simulator on both windows and mac. I can manually open simulator on Mac. But when we run application against simulator it will build successful , but no simulator shows

Xamarin Forms : How to fix Activity Indicator in Centre of Screen in Scrollview

老子叫甜甜 提交于 2021-01-27 07:03:51
问题 I have a ScrollView over AbsoluteLayout .. I need to Fix the postion of the ActivityIndicator in centre of screen. I tried following code. <ScrollView> <AbsoluteLayout VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"> <StackLayout BackgroundColor="White" Padding="50,20,50,20" Spacing="5" AbsoluteLayout.LayoutBounds="0,0,1,1" AbsoluteLayout.LayoutFlags="All"> // have set of elements.. </StackLayout> <ActivityIndicator IsVisible="{Binding IsBusy}" IsRunning="{Binding IsBusy}"

Xamarin Forms : How to fix Activity Indicator in Centre of Screen in Scrollview

巧了我就是萌 提交于 2021-01-27 07:01:39
问题 I have a ScrollView over AbsoluteLayout .. I need to Fix the postion of the ActivityIndicator in centre of screen. I tried following code. <ScrollView> <AbsoluteLayout VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"> <StackLayout BackgroundColor="White" Padding="50,20,50,20" Spacing="5" AbsoluteLayout.LayoutBounds="0,0,1,1" AbsoluteLayout.LayoutFlags="All"> // have set of elements.. </StackLayout> <ActivityIndicator IsVisible="{Binding IsBusy}" IsRunning="{Binding IsBusy}"

How do I integrate Firebase.Crashlytics on my Xamarin.Forms Project

谁说胖子不能爱 提交于 2021-01-27 05:54:25
问题 Can any one help me with integrating Firebase.Crashlytics on a Xamarin.Forms project for iOS. It is working fine for me on Android but on iOS I am facing issues. Note that I have performed the following steps on iOS :- Added Xamarin.Firebase.iOS.Crashlytics Nuget package to my iOS project. Added GoogleService.plist file Made a dependency service for iOS Added the following code to initialize the nuget :- Firebase.Core.App.Configure(); Crashlytics.Configure(); Fabric.Fabric.SharedSdk.Debug =

Can We add content Above tabbed page in xamarin forms?

 ̄綄美尐妖づ 提交于 2021-01-27 05:42:35
问题 I want to add some label and image above tabbed page in xamarin forms, so when i slide to another tabbed page the content above tabbed page will remain the same here is the design can i achieve this because i cant find any reference to do that ? 回答1: You can not add label above in tabbed page if you want to add label above tabbed page you have to crate your own tabbed page. You can create a layout that show/hide based on your selection for your selection create tab design and tap gesture to

How to set ItemsSource of ListView?

我与影子孤独终老i 提交于 2021-01-27 04:20:29
问题 Here I have defined my data myListOfEmployeeObjects : public class App : Application { public List<Employee> myListOfEmployeeObjects; public App () { Employee emp1 = new Employee () { FirstName = "Max", LastName = "Mustermann", Twitter = "@fake1" }; Employee emp2 = new Employee () { FirstName = "Evy", LastName = "Mustermann", Twitter = "@fake2" }; myListOfEmployeeObjects = new List<Employee> { emp1, emp2 }; MainPage = new NavigationPage (new EmployeeListPage ()); } } Than I have my XAML where

How to set ItemsSource of ListView?

折月煮酒 提交于 2021-01-27 04:20:08
问题 Here I have defined my data myListOfEmployeeObjects : public class App : Application { public List<Employee> myListOfEmployeeObjects; public App () { Employee emp1 = new Employee () { FirstName = "Max", LastName = "Mustermann", Twitter = "@fake1" }; Employee emp2 = new Employee () { FirstName = "Evy", LastName = "Mustermann", Twitter = "@fake2" }; myListOfEmployeeObjects = new List<Employee> { emp1, emp2 }; MainPage = new NavigationPage (new EmployeeListPage ()); } } Than I have my XAML where

How to remove Zoom Button From Azure B2C in Xamarin Forms

这一生的挚爱 提交于 2021-01-26 21:46:31
问题 I have azure b2c running in my xamarin forms app, its work well but the ui customization is so limit. And I have one problem in the login page, signup page and forgot password it has Zoom button in the bottom of corner which is so annoying because sometime when I'm trying to press the signup its press the zoom button instead. And how I can remove this button because I can't find any setting in the azure b2c i'm using wingtip as my Azure b2c layout from here is that because css i use from

Xamarin.Forms Unable to cast object of type 'System.RuntimeType' to type 'Mono.Debugger.Soft.TypeMirror' when trying to create MasterDetailPage

浪尽此生 提交于 2021-01-24 12:16:13
问题 I am having problems with my Xamarin.Forms not wanting to load anymore, it keeps giving me the error message Unable to cast object of type 'System.RuntimeType' to type 'Mono.Debugger.Soft.TypeMirror'. My code ATM is MainPage.xaml.cs: public partial class MainPage : MasterDetailPage { public MainPage() { InitializeComponent(); } } MainPage.xaml <?xml version="1.0" encoding="utf-8" ?> <MasterDetailPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx