Reviewing Values for iOS UIViewContentMode with Xamarin and F#
Who can remember the scaling behavior of UIView.ContentMode
? Not me!
So I wrote this quick little F# program to review them:
[code lang="fsharp"]
namespace Simple
open System
open MonoTouch.UIKit
open MonoTouch.Foundation
open System.Drawing
type ContentView ( color : UIColor ) as self =
inherit UIView ()
do
self.BackgroundColor \< - color …