Xamarin Link Roundup #6


Cool Posts

Code & Components



Xamarin, iBeacons and Geofencing – Some Resources

For an upcoming geekend (a weekend hackfest) we are looking at spending some time digging into iBeacon and Geofencing technologies.  I was going to email some of these resources I have found to the participants but thought it might be better if I blog them as a resource for others. 

Hope it helps

Continue reading…

Xamarin and iOS – Moving to iOS 7 and Xcode 5

Apple has now decreed that all apps submitted to the store must be built on XCode5 and iOS7.

And so it shall be…

So I’ve started building our Xamarin iPhone project against said platforms. Now there is a lot of redesign that should go on with moving to iOS 7, but to tell you the truth we went for a pretty flat design to begin with, so the first port of call is just migrating straight across and getting certified as an iOS 7 app.  Once we have that done, we can spend time taking advantage of more iOS 7 features




The transition has been surprisingly smooth and there have only been a few issues (so far).

1. Content disappearing behind Navigation Bar

I found in some places the content of my views were being pushed up underneath the navigation bar.   This is because in iOS 7 view controllers use full screen layout.  In my case I wasn’t going to redesign the UI at this point to handle things differently so to get around this I just set the value for EdgesForExtendedLayout to None in the ViewDidLoad of the UIViewControllers, like so:

public override void ViewDidLoad()
EdgesForExtendedLayout = UIRectEdge.None;




There is more information available on the Apple iOS 7 UI Transition Guide.


2. Button Labels being trimmed with ellipsis (…)

Now that buttons are so cool they don’t need chrome or borders anymore I noticed that I was getting some trimming of text happening on button labels. Like this:


After much slapping of forehead I discovered that the cause was that I was setting the UILabel.Appearance.Font property in theAppDelegate’s FinishedLaunching .  This global change was enough for iOS 7 to think that C…cel looked much better than Cancel.  Get rid of that and viola, iOS 7 is happy because it has full control again 😉


3. Your UISwitch custom background images are gone!

Those pretty custom backgrounds you created for your UISwitch are no longer functional.  Not a biggy really, however, I also noticed that if your BackgroundColor of your UISwitch is set to UIColor.Clear you get a nice “Googely Eye” effect when you toggle your buttons.


Is it on, is it off… who can tell.  Anyway, looks like it’s time to bow down to iOS and let it run the show. So get rid of your UIColor.Clear!


I’ll let you know of any more issues I have as I do a basic port to iOS 7.  Till then anyone else got any other war stories they want to share?



Xamarin and Android – Specific Solutions to Specific Problems #2

Welcome to the second post in my Specific Solutions to Specific Problems series. Hopefully somebody is getting some benefit out of these but even if nobody is reading it, the process is pretty cathartic anyway…

These are a handful of issues that I encountered in my second week on Monodroid. These are the solutions I discovered to my problems.

Continue reading…

Xamarin and Resource.Designer.cs

I am doing a lot of development using Xamarin for Android and while most of the time it works really well, there are a few circumstances where it acts a little weirdly.

The first is when naming resources. The Xamarin documentation states the following in a resource on their website:

Also, it’s important to note that while Android only supports lowercase filenames for resource items, Xamarin.Android is a bit more forgiving; it will support both uppercase and lowercase filenames.Xamarin

While this is true for most items it doesn’t work across the board.  Continue reading…

Xamarin Link Roundup – 24 Aug 2014

As usual, another Link Roundup of Xamarin / Mobile related links collected over the last week or so. Don’t forget if you have seen something cool that should be on the list, email me, comment or tweet me.

News, Webinars, Podcasts and Presentations

Cool Code





Xamarin Link Roundup – 15 Aug 2013

News and Events


Interesting Code


Other Stuff

Xamarin Link Roundup – 6 Aug 2013



  • PlayScript is an open source Adobe ActionScript compatible compiler and Flash compatible runtime that runs in the Mono .NET environment, targeting mobile devices through the Xamarin platform. http://playscript.github.io/ – via Julian Xhokaxhiu
  • Reactive Extensions (RX) are the new cool.  There is now a port for Mono on github. It’s also available as nuget packages for iOS and Android. via – Jérémie Laval
  • MonkeyArms MVCS framwork.  Well if framework names hadn’t got weird enough already, MonkeyArms is a MVCS framework for Xamarin iOS and Android apps inspired by Flash’s Robot Legs framework. – via Ben Bishop

Cool Code

Interesting Reads


Stuff that I googled for my project, that was useful


Back soon with more links and experiences of my Xamarin learning, enjoy reading my other articles in this blog. Have any question? Don’t forget to write a comment below.