Posts

Force the keyboard to dismiss on iPad when using MonoTouch

I have been using monotouch for a while and am now coming up against common iOS problems that I had during the days of using Objective-C. One of these is the problem of the Keyboard not dismissing when ResignFirstResponder is called when the View controller is presented modally on iPad So to get round this I managed to port over the old trick of using the UIKeyboardImpl class to dismiss it. This is an extension class to UIView that loads a new UIKeyboardImpl instance, finds the active keyboard and hides it. using   System ; using   MonoTouch . UIKit ; using   MonoTouch . Foundation ; using   MonoTouch . ObjCRuntime ; namespace   SomeProject {      public   static   class   UIKitExtensions      {           public   static   void   HideKeyboard ( this   UIView   vc )           {    ...

First Blog Posting Wierdness

Hello World! When coming up with what to say in my first ever blog, there was  weird sense of nervousness.  This then lead me to start thinking of ideas and things to say to make sure that i didn't mess it up. It ended up being reasonably stressful for something as simple as saying hello to the internet. So, instead of a massive long post, with funny anecdotes and quips, here is my first post. Consider my cherry popped, phew!