monotouch

Monotouch rotate view in Portrait/Landscape

Can anyone give an example of how to rotate the view of a monotouch application from portrait to landscape and vice versa? ...

Monotouch auto resizing views in iphone

I have created a view in interface builder that contains another view (content area) and a button bar at the bottom. The hierarchy is as: ->View --->mapContainer UIView ----->map MKMapView ----->OverlayView UIView --->ToolBar UIToolBar I would like the mapContainer to resize to full window when the ToolBar is hidden. I would like the...

Is there a way to mix MonoTouch and Objective-C?

I'd like to know if there is a way to mix C# and Obj-C code in one project. Specifically, I'd like to use Cocos2D for my UI in Obj-C and call some MonoTouch C#-Library that does some computations and get some values back. Is there a way to do this? Or maybe the other way around, i. e. building in MonoTouch and calling Cocos2D-functions? ...

Why is it not possible to use the MPMoviePlayerController more than once?

In MonoTouch, we ran into this problem with the Movie Player sample in that it would only play the video once, but would not play it a second time. I am asking this question to post an answer, since it has been hitting various folks. ...

How can I launch multiple instances of MonoDevelop on the Mac?

I would like to open a new MonoDevelop instance to work on a different project on the Mac, and the OS is currently preventing me from opening a new instance. ...

Is MonoTouch worth the cost or should I just learn Objective-C?

After sitting through a session today on Mono at a local .Net event, the use of MonoTouch was 'touched' upon as an alternative for iPhone development. Being very comfortable in C# and .Net, it seems like an appealing option, despite some of the quirkiness of the Mono stack. However, since MonoTouch costs $400, I'm somewhat torn on if t...

is there any way that we can develop application in .net for iphone

can we develop application for iphone in visual studio itself are there any emulator for testing it that is compatible with visual studio ...

Monotouch iPhone Landscape Mode

How do I keep a Monotouch iPhone app in landscape mode when loading a new view controller from an xib? To switch to landscape mode when the app loads I use: app.StatusBarOrientation = UIInterfaceOrientation.LandscapeRight; I would like to be able to rotate the view in interface builder and design the interface. I can hit the rotat...

Monotouch - Ibtool does not exist in any folders referenced in the PATH environment variable

I've just installed monotouch and having a problem with my first build of an unchanged IPhone template project. The build is not finding Ibtool in any of the folders in the PATH environment variable. I get the following message : Build failed. ApplicationName='ibtool', CommandLine=.... If I do a search for Ibtool, it is in folder...

What parts of .NET aren't available in Monotouch for IPhone dev?

What are some key bindings that aren't included? ...

On-the-fly conversion of MPEG files on MonoTouch

I have an iPhone application that uses small MPEG movies showing hand signs in the Dutch Sign Language. I get the movies from the Gebarencentrum, with their permission. But they are all in the old MPEG-1 format, and the iPhone won't play that. The allowed me to convert a couple of hunderd of the movies in batch and put them on my own web...

Issue with MonoTouch

I saw your website and impressed on features present in MonoTouch. I downloaded the evaluation version and installed on my MAC book using the installation guidelines given in the web site. When I tried to open MonoDevelop application, it was not opening and it saying “Application Not Responding”. I have mentioned the steps below whic...

Should I Open Source my MonoTouch .NET iPhone application?

It's a small application, named Simon Basic Edition, and it is in the Apple Apps Store top 100 in Games > Kids. The first version is pretty basic, but I made a bunch of improvements in 1.1. which was submitted a week ago to iTunes Connect. Based on the same source, I have written another Simon Cards Edition which is also waiting for th...

C# Class Definition

In XCode and objective c, if I want to use a UIGlassButton in interface builder, I put the following line in my header file: @class UIGlassButton; I am now using monotouch c#. Is there a similar statement I can use to import the UIGlassButton class? I guess the question becomes did the Monotouch team port UIGlassButton to C# and Mon...

Is it possible to use the IDE debugger using the Monotouch evaluation version?

I have installed mono, the monotouch SDK and monodevelop. I have a sample project which I can set breakpoints on in the IDE. However I can't find any option to run my sample program so that the breakpoints are hit and I can step through the code. Is this functionality unavailable on the evaluation version, or am I missing something? ...

Is MonoDeveloper's editor slow for you?

I'm using the evaluation version of MonoTouch and MonoDeveloper to check out writing iPhone app in C#. However, MonoDeveloper's editor is very slow for me. I mean really really slow. I have to type and wait for text to be rendered. Do you experience the same? Any insights on what can be the causes? Thanks. ...

Playing a Sound With Monotouch

No matter what I try (build -> content, NSUrl, filename) I get a 'null exception': file not found when I try to play a .caf sound file in monotouch. //var path = NSBundle.MainBundle.PathForResource("MatchGame", "caf"); //var gameSong = SystemSound.FromFile( new NSUrl(path, false)); var gameSong = SystemSound.FromFile("MatchGame.caf"); ...

Web Services Build Error in Monotouch

My project and web services work fine in the simulator but crash when uploading to an iPhone. It had been working fine before I updated Monotouch from 1.1. Can I revert back to earlier versions of Monotouch? Here is the problem: I have a monotouch app using web services. When I export the project to Xcode, I get a build error statin...

montouch detect when sound finished playing

In objective C is a method called AudioServicesAddSystemSoundCompletion which allows to add a handler for "audio done notification". So I add the handler call AudioServicesPlaySystemSound and when the sound finished I'll get a notification. monotouch has MonoTouch.AudioToolbox.SystemSound.PlaySystemSound to play such a sound. But how do ...

MonoTouch debugger never connects to app.

I have an issue where the MonoDevelop debugger refuses to connect to the simulator. MonoDevelop pops a box saying "Waiting for debugger to connect on 127.0.0.1:10000..." but never connects. I have uninstalled and reinstalled everything, but still have the same issue. What am I missing? Thanks in advance. ...