MonoTouch - Setting Bundle - iPhone
I am trying to create a app preference so that users can store prefs. In XCode I would click the "Settings Bundle" under New File. How do I do this in MonoTouch? ...
I am trying to create a app preference so that users can store prefs. In XCode I would click the "Settings Bundle" under New File. How do I do this in MonoTouch? ...
How can I install a text file as part of a MonoTouch app? I know how to create, write to, and read from a text file in the app's Documents folder, but I want to install a text file previously created (outside of the app). I added a text file to the MonoTouch project, and marked it as "Content", but after I deploy to the simulator, I do n...
How can I load an image to a UIImage object from the url of the image? Currently, I am loading the image using UIImage.FromFile, and including the image as content, but I need to be able to grab it from another website. image.Image = UIImage.FromFile("images/imageName.jpg"); ...
I'm trying to figure out how to have a view, let's call it ThirdView, slide up from the bottom of the screen when a user clicks a particular button on SecondView. thanks. ...
The notorious error haunts me in App Store: "The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate." Steps I've taken: 1) I'm using Monotouch / MonoDevelop. 2) App works on iPhone Simulator and on Device. 3) I've made the distribution build according to the examples ...
I'm able to load and access resx files in Simulator builds of my iPhone app built using MonoTouch. The resx file entry in the csproj file looks like: <ItemGroup> <EmbeddedResource Include="MapMenu\Resources\MapMenu.resx"> <Generator>ResXFileCodeGenerator</Generator> <LastGenOutput>MapMenu.Designer.cs</LastGenOutput> ...
When attempting to debug (Run -> Debug), the "waiting for debugger" dialog appears, and subsequently disappears. The simulator starts up to the home screen, I click on my app, and all that happens is a black screen appears. No breakpoints are hit, and the application never appears to do anything. Simply running the application without...
I have a screen with a button on a bottom toolbar which when the user clicks it I want a translucent screen to slide up from the bottom of the screen, the user will then enter something in a textbox, and then they can dismiss the screen. Is this an ActionSheet? All I seem to find about ActionSheets are Buttons. It's not an Alert. So, is...
I have set a picker's model to a custom class which inherits UIPickerViewModel I can get the picker to display the first component's data (there are 2) but I don't see a way to tell the picker what the values are for the second column? I'm using MontoTouch.net , but Obj-C answers are fine. override GetRowsInComponent (UIPickerView ...
I am trying to take a date string and turn it into a specific NSDate (eg. July 1, 1981), but I don't see and methods for setting the date. Does anyone know how to accomplish this? Perhaps convert a DateTime object to NSDate? ...
Hi there, I am just beginning using MonoTouch and having a great time with it. I am however having an issue getting to grips with how the UIControllers and views interact with each other. For instance, i am beginning the app using a UINavigationController but under certain circumstances i want to transition to a UITabController. How is...
I'm only able to find bits and pieces, and no overall explanation and help, particularly in MonoTouch for this. I have a UITableView, I have my DataSource object, and I have my custom CellController. I have buttons on the custom cells which I want to allow the user to delete the row or move it up or down in the list presented. I just ...
From what I understand, Apple has banned the Flash runtime on the iPhone because Apple doesn't want an alternative runtime environment to that which Apple provides via their own tools. Allowing a Flash runtime, according to Apple, would allow developers to circumvent application update policies and other controls which Apple has put in ...
I have View A, when the user clicks a button I pop up View B. When the user dismisses View B, and we return to View A I would like to refresh a label on View A, but is there an event that I can use to detect that we have returned to View B? I know that ViewDidLoad doesn't fire again. ...
Okay, I have been building using MonoTouch for about 6 hours and I have hit a wall, what ever I do to try and run and build my application I get build failed, but the build window is not tell me why it is failing. The code is very basic and is correct. Could anyone help me out here please? Building: HelloiPhone (Debug|iPhoneSimulator)...
What options are there currently for displaying business charts (e.g. bar, pie, scatter, line) in a MonoTouch application? Obviously I could roll my own using the graphics library, but are there any existing MonoTouch-compatible libraries? If not, could I use a standard iPhone charting library in MonoTouch (i.e. something designed to be...
I have an app which lists many languages. In the app I compare language names. When I compare language names with no accents it works and the compare is true. When I compare languages with accents, it doesn't think they are equal. In this case they are NOT equal (but should be). Language = "Español"; MonoTouch.Foundation.NSString s =...
My code works and I animate, but I'm not sure how to do this: http://stackoverflow.com/questions/296967/animation-end-callback-for-calayer ...in MonoTouch. Here's what i've got: public partial class MyCustomView: UIView { // Code Code Code private void RunAnimation() { CAKeyFrameAnimation pathAnimation =...
I would like to be able to capture an image (or choose an image from the photo library) and upload it to a remote server using Monotouch. I am not sure how to obtain and encode the image or how to upload the image and I am having difficulty finding relevant instructions. Can you help me get started? Thank you. ...
I need to read, edit and save one xml file. In other words, I want to write again over the same file and not to create a new xml file. Reading and editing parts work, but not the saving. The Linq-to-Xml code for saving is simply: doc.Save(this.Path); This works in iPhone Simulator but throws System.UnauthorizedAccessException on the ...