xamarin.ios

Is Reactive Extensions 2.1 PCL compatible with Xamarin?

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-13 05:54:06
问题 Riddle me this: Can the new PCL version of Reactive Extensions be made to work with Xamarin? If so, how? 回答1: Nope. But check out https://github.com/mono/rx/tree/rx-oss-v2.1/Rx/NET/Source/Rx_Xamarin for versions that do work. 回答2: Yes it is possible. At the moment, you will need to switch to the beta channel of the Xamarin tools which implement Mono 3.0. This can be done via Tools > Options > Xamarin in Visual Studio 2012. Xamarin.Android 4.7 Information Xamarin.iOS 6.3 Information The

Waiting for debugger to connect

眉间皱痕 提交于 2020-01-13 05:32:07
问题 (excuse me for my english!) When i debug my app, the simulator is opening but with nothing... in the monodevelop ide, it shows alert box with message "Waiting for debugger to connect..." sometime, the simulator ask me the applicaton to load... but which? why? in the past, i had monodevelop 2.6 installed, then monodevelop 2.6 and 2.8 together, NOW: only monodevelop 2.8 can somebody help me? how i can resolve all this troubles? thank you 回答1: Try to restart MonoDevelop . Then reset IOS

How to make a UIDatePicker appear at bottom of screen?

元气小坏坏 提交于 2020-01-13 04:12:11
问题 I currently use MonoTouch with MonoTouch.Dialog. When tapping on a date field it pushes the navigationcontroller so you go right a screen to see your UIDatePicker where you choose the date then go "back" to the main screen again. I'd really like to have this UI like other apps I've used that when you select a date field the UIDatePicker appears at the bottom of the current screen. I would like to learn how to do this and apply it to other input fields where I may want to use a custom picker

MvvmCross localization: switch at runtime

馋奶兔 提交于 2020-01-12 05:50:08
问题 Is there a way to change the current language to another one at runtime ? For example: be able to switch when a button is clicked or when starting the app, get the user language and switch. How to tell the plugin to check the user language at startup ? Thanks in advance for your help. 回答1: Is there a way to change the current language to another one at runtime ? yes, call builder.LoadResources(whichLanguage) on your MvxTextProviderBuilder.cs For example: be able to switch when a button is

how to call platform specific page from xamarin.forms

馋奶兔 提交于 2020-01-12 01:42:45
问题 I am new to the xamarin app development, I have some questions : Is it possible to call the platform specific page from the Xamarin.Form page? Can I do Page Navigation from view model? Let me explain clearly. I have a Page XFView.xaml , XFView.xaml.cs and XFViewModel.cs in PCL (Xamarin.Forms) project from XFView.xaml.cs or XFViewModel.cs i want to call MAActivity.cs page which is present in Xamarin.Andriod project I tried a lot but got getting any idea. 回答1: Whenever you would like to call

Generating the IPA file of my Xamarin App without an iOS device

允我心安 提交于 2020-01-11 19:41:29
问题 I have created a Xamarin Forms App for both Android and iOS devices from Visual Studio 2017 and Windows. To test and build the iOS app, I have used a Mac with Xamarin Mac Agent. Now I have to build an IPA file for internal testing, however I'm unable to do it because when I build my project for the iOS simulator, it's not generated the IPA file. I have also tried to use both Ad-hoc and AppStore build options. I know that with XCode 7+ you can create an IPA file for internal testing without an

Issues with Bindings: Calling base method on binding class calls override method. Leads to infinite recursion

守給你的承諾、 提交于 2020-01-11 14:06:22
问题 I'm working on a MonoTouch project that uses Cordova. I created a binding for Cordova (based on the one created by Scott Blomquist). I have been able to instantiate the classes fairly well without fail. When I try to extend them however, I run into issues. For example, if I merely try extend the CDVViewController, without even overriding anything, when we get to the code that instantiates this extended class, the system quietly exits with no error messages, and the following exit lines. The

I am using “DrawLinearGradient” function to draw gradient line. But the 2 colors that i am using are not dividing equally in the line

江枫思渺然 提交于 2020-01-11 13:45:31
问题 I am using "DrawLinearGradient" function to draw gradient line. But the 2 colors that i am using are not dividing equally in the line. CGColorSpace colorSpace = CGColorSpace.CreateDeviceRGB(); CGColor[] colors = {UIColor.Red.CGColor,UIColor.Green.CGColor}; float[] locations = {0.0f,0.5f,0.5f,1.0f}; CGGradient gradient = new CGGradient(colorSpace,colors,locations); ColorMessage.FontSize = width; context.SetLineWidth(width); context.SaveState(); context.Clip(); context.DrawLinearGradient

Configuring the NUnit command line to run MonoTouch tests

。_饼干妹妹 提交于 2020-01-11 12:22:33
问题 I've got a unit test in my MonoTouch project that I can't run from inside MonoDevelop -- it fails with "Unix transport error." Poking around on the web it looks like that's associated with the NUnit test runner blowing up, so I thought I'd try using the command-line test runner. I used MonoDevelop's "Create Package" to build and package up all the DLLs, and then tried running my tests with nunit-console FooTest.dll . This blows up, but I'm pretty sure it's not for the same reason it blows up

Microsoft.Threading.Tasks.Extensions in Xamarin Mono projects

亡梦爱人 提交于 2020-01-11 11:53:55
问题 I have built a NuGet package for my Simple.OData.Client with support for Xamarin Android and iOS. This library uses Microsoft.Bcl.Async. Tests using Android and iOS simulator went OK, but when I install this new NuGet package into another project, it fails to compile Droid/Touch projects with the following message: C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(720,2): error : Exception while loading assemblies: System.IO.FileNotFoundException: Could not load