xamarin.ios

Building iOS App does not update on iPhone or Simulator

大城市里の小女人 提交于 2020-01-16 06:23:41
问题 I am trying to get an iOS project started with Xamarin.iOS for Visual Studio linked to a Mac build host and connected iPhone. I have started dummy projects in Visual Studio on my PC, Xamarin Studio on the Mac, and XCode 7 on the Mac. They all share this problem. I have tried running the build on both the physical iPhone and a Simulator on the Mac. The problem persists for both despite all my efforts. The problem is this: The first version ever built of the test app is the one that runs. If I

How to set the background color on a DialogViewController (Monotouch.Dialog)

↘锁芯ラ 提交于 2020-01-16 00:47:06
问题 environment: creating an iPad application using Monotouch and the Monotouch.Dialog library. I've been trying to set the background color on a DialogViewController to no avail. I have multiple views in my application being loaded an unloaded. For non of them I manage to set the background color. What I have tried so far: Set the background color on the main window of my application --> works fine. Create a simple UIView, give it a size, set the background color and load it into the window -->

How to reuse connection/request to avoid Handshake

家住魔仙堡 提交于 2020-01-15 12:21:44
问题 I would like to know how Reusing HttpWebRequests works to avoid SSL handshake process everytime. I use the keep alive headr in the request and the first handshake is successfull but i would like to reuse the request in order to avoid future handshakes against the same certificate. Think is i dont know if i had to reuse the HttpWebRequest object instance or even if i create a new request object it will use the same connection since the keep alive is already on place and working. Should i store

Monotouch Linea Pro SDK issue with build arguments

谁说我不能喝 提交于 2020-01-15 12:09:10
问题 Hopefully someone can help me or point me in the right direction. I am using monotouch to write an iPod Touch app that uses the Linea Pro barcode scanner case. I have the SDK for the Linea Pro case and I've followed the following tutorial http://blog.davidsandor.com/post/2011/01/05/iPhone-iTouch-barcode-scanning-Hello-World-application-with-MonoTouch-and-LineaSDK.aspx (you can see I've posted a response asking for help but I'm a little confused by the "non-thumb" build) I have tried matching

Monotouch Linea Pro SDK issue with build arguments

情到浓时终转凉″ 提交于 2020-01-15 12:06:24
问题 Hopefully someone can help me or point me in the right direction. I am using monotouch to write an iPod Touch app that uses the Linea Pro barcode scanner case. I have the SDK for the Linea Pro case and I've followed the following tutorial http://blog.davidsandor.com/post/2011/01/05/iPhone-iTouch-barcode-scanning-Hello-World-application-with-MonoTouch-and-LineaSDK.aspx (you can see I've posted a response asking for help but I'm a little confused by the "non-thumb" build) I have tried matching

Can't access saved in a Xamarin.iOS keychain value

僤鯓⒐⒋嵵緔 提交于 2020-01-15 06:12:22
问题 In my app I have two methods which help me save and get values from keychain public static void StoreKeysInKeychain(string key, string value) { DeleteKeyFromKeychain(key); var s = new SecRecord(SecKind.GenericPassword) { ValueData = NSData.FromString(value), Generic = NSData.FromString(key) }; SecKeyChain.Add(s); Console.WriteLine(GetRecordsFromKeychain(key)); } public static string GetRecordsFromKeychain(string key) { SecStatusCode res; var rec = new SecRecord(SecKind.GenericPassword) {

How do I reactivate Monotouch?

若如初见. 提交于 2020-01-15 06:01:08
问题 I used the Apple MigrationAssistant to migrate to a new machine, and now MonoTouch won't launch my app in the simulator because it says my license is not valid. Following instructions in other posts here, I removed my license file and re-ran the setup, but that just told me that everything was installed and launched the app with the same problem. So, I completely removed MonoDevelop, and re-ran the setup. It dutifully downloaded MonoDevelop and installed it, but never gave me a chance to

I would like to connect my Iphone to a MAC mini and remotely run tests on it from my Windows machine using Xamarin UI test

江枫思渺然 提交于 2020-01-15 05:38:49
问题 I am getting the error saying "iOS tests are not supported on Windows" while trying to execute UI test script written against the Xamarin.UI.Test framework. Is there any way to remotely run UI test on IOS app from Visual studio 2017 (windows machine)? Appium has a remote server feature which enable us to connect to mac and run test script. Does Xamarin UI test has any feature like this? 回答1: Running iOS Xamarin.UITests from Windows using the Mac Agent is not supported. Cause: The UITest

Xamarin ProgressBar not updating real time

若如初见. 提交于 2020-01-15 05:15:07
问题 All, I'm fairly new to Xamarin and more notably, C# so please, be kind ...! I have a Xamarin.Forms application that drops down to .iOS using a DependencyService which then traverses all of the songs on my device and returns using a custom "Song" model. There's no doubt a better way to do it but in order to return the album artwork back to the PCL, I've taken the iOS UIImage and turned it into a System.IO.Stream object and am returning that through the Song model. Adding this artwork

Monotouch.Dialog : Section font

戏子无情 提交于 2020-01-15 05:10:06
问题 It it possible to access the font and color properties of the section header and footer or do I need to subclass Section? I changed my UI to all black and everything looks great except my section headers and footers. Reflection API: class Login { public string Version = "1.2.3"; [Section ("Enter your credentials", "Email and password are required")] [Entry ("Enter your email address")] public string email; [Caption ("Password"), Password ("Enter your password")] public string password; [OnTap