xamarin.ios

SIGABRT error after last Xamarin.iOS update

南楼画角 提交于 2021-01-27 07:12:24
问题 Just updated to the lastest version of Xamarin studio and Xamarin.iOS. Now I am getting this error: Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. Well, its not even an error actually. The simulator just crashes and and no workable error shows up. All was fine 10 mins ago... Im on Mac OSX. Any ideas? Thanks! EDIT 2015-05-08 08:46:58.951 ReflectMobileiOS[1761:93636] Unhandled managed

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 =

Got a SIGABRT while executing native code xamarin.ios

牧云@^-^@ 提交于 2021-01-27 05:36:35
问题 I've built a xamarin.ios app. The app has been working absolutely fine. There have been no code changes and out of the blue, the app now crashes when accessing the camera. I have no idea why this is happening, could anyone shed some light on this problem? I've google around this error and tried various things, including removing various packages. I recently updated to ios 10 but the app was still working fine after the update. The error is below: 2016-10-10 21:44:28.925 Coacher[307:24128]

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

Xamarin iOS how to check if Location Services is off or app level device location is off

坚强是说给别人听的谎言 提交于 2021-01-01 08:00:07
问题 I am new to Xamarin iOS and mobile dev in general. I have a application which requires location services, on my view controller I have a button which takes the user to location settings for the app, however, if the main device location is off the user will not be able to do anything with the app level location setting. I am using this code on my button click event to take the user to the settings page. if (UIDevice.CurrentDevice.CheckSystemVersion(8, 0)) { NSString settingsString =

How to change the status bar color without a navigation page

拟墨画扇 提交于 2020-12-31 04:38:18
问题 I want to change the status bar color on some views. I found this solution https://github.com/yuv4ik/XFDynamicStatusBarAppearance but it's working only with NavigationPage. I don't need from my app Navigation Page ... public App() { InitializeComponent(); MainPage = new MainPage(); } Here is my try ... var statusBarStyleManager = DependencyService.Get<IStatusBarStyleManager>(); MainCarousel.PositionChanged += (sender, e) => { switch (e.CurrentPosition) { case 1: Device.BeginInvokeOnMainThread

How to change the status bar color without a navigation page

六月ゝ 毕业季﹏ 提交于 2020-12-31 04:37:25
问题 I want to change the status bar color on some views. I found this solution https://github.com/yuv4ik/XFDynamicStatusBarAppearance but it's working only with NavigationPage. I don't need from my app Navigation Page ... public App() { InitializeComponent(); MainPage = new MainPage(); } Here is my try ... var statusBarStyleManager = DependencyService.Get<IStatusBarStyleManager>(); MainCarousel.PositionChanged += (sender, e) => { switch (e.CurrentPosition) { case 1: Device.BeginInvokeOnMainThread

WebView text too small cannot make bigger XForms (4.8)

被刻印的时光 ゝ 提交于 2020-12-23 13:47:12
问题 wondering if anyone can help, the text on the webView is too small, I have an HTML that I have NO control over. How can I increase the size? I have tried Xamarin forms: Webview content default size is too small but did not work for me as the page does not load at all. Is this a bug? Am I missing something? Any suggestions <WebView VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"> <WebView.Source> <HtmlWebViewSource Html="{Binding HtmlSource}" /> </WebView.Source> </WebView>

WebView text too small cannot make bigger XForms (4.8)

一笑奈何 提交于 2020-12-23 13:46:02
问题 wondering if anyone can help, the text on the webView is too small, I have an HTML that I have NO control over. How can I increase the size? I have tried Xamarin forms: Webview content default size is too small but did not work for me as the page does not load at all. Is this a bug? Am I missing something? Any suggestions <WebView VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"> <WebView.Source> <HtmlWebViewSource Html="{Binding HtmlSource}" /> </WebView.Source> </WebView>