Skip to content
This repository has been archived by the owner. It is now read-only.
Fetching contributors…
Cannot retrieve contributors at this time
345 lines (195 sloc) 11.7 KB
id title
Xamarin.iOS 6.2

The Xamarin.iOS 6.2 series introduced support for developing applications with Visual Studio, using Xamarin Components as well as support for free application development with C#.

It builds on our iOS 6.x series support

. If you are just getting started with iOS 6, check out our Introduction to iOS 6


Xamarin.iOS 6.2.7

What is new?

  • Improved Xcode detection for the Visual Studio plugin.
  • Fixed 12472 which incorrectly marked AsJPEG and AsPNG as non-threadsafe.

There are no API changes in this release.

Xamarin.iOS 6.2.6

Major features

  • Smaller binaries when consuming third party libraries, by doing native linking (see “Rework the registration code)
  • Support for UIAccessibility [#11891, #11973, #11965, #12074, #12121]

New features

  • Add LastError to AudioFileStream [#6385]

  • New [Field] attribute for bindings [#9514] For more details, see: Binding Types Reference Guide and Binding Objective-C Libraries .

  • Add GetAppearance () to allow UIAppearance on subclasses [#10724]

  • Add NSProcessInfo API [#10885]

  • Add PDFDocument.GetInfo [#10916]

  • Add a generic UICollectionViewLayoutAttributes.CreateForCell overload to specify the type [#10877] The older API, binding a static selector, was not able to known which managed type to create. The new method accept a generic type that provide this information.

  • Add two UIImage.FromImage overloads for missing selectors [#11969] (see API diff)

  • Add namespace compatibility with MonoMac by introducing namespaces with empty classes that exist in MonoMac

  • Removal of some non-public Apple selectors (name clashes, old beta selectors and newly blacklisted)

  • UITableViewDataSource and UITableViewDelegate members can now be overridden from UITableViewController

  • Performance updates to the AudioToolbox bindings Since our marshaling needs are so simple, we do not need to use the Runtime's more advanced marshaling functionality. This drops PtrToStructure and StructureToPtr for copying structures and replaced it with pointer operations. This also drops Marshal.SizeOf which is also a runtime API and uses instead sizeof.

Small tune ups also to clear buffer that were identified using Instruments as being in the hot path for creating audio buffers.

  • Adding missing NSString methods from NSPathUtilities.h (see API diff)

Bug fixes

  • Fix LLVM producing assembly not allowed by clang [#10811]
  • UIBarButtonItem.Action is nullable [#10876]
  • Fix signature of WillDeselectRow [#11020]
  • Weak-linking takes precedence over just linking a framework [#11041]
  • Handle more type encodings [#11047]
  • Don't set the visibility of the type_info_ symbols in the LLVM backend [#11076]
  • Remove retina-specific code from UIImage.Scale [#11069] and add a new overload [#8548]
  • Encode the AOT module symbol like the AOT compiler does [#11079]
  • Avoid an assert in sdb for compiler generated byref locals [#11115]
  • Fix for when "Xamarin" is renamed [#11148]
  • Fix an infinite loop in decode_llvm_mono_eh_frame [#11212]
  • When converting a .NET Cookie do not provide a discard value unless it's true [#11287]
  • Fix an LLVM crash when a method ending with a throw is inlined into a catch clause [#11297]
  • Fix debugging symbols when assemblies are modified outside the linker [#11319]
  • Autorelease NSMutableData instances created with static methods [#11447]
  • Do not optimize [CompilerGenerated] code that's not really compiler generated [#11452]
  • Fix alignment of unbox trampolines when using LLVM+thumb on ARM [#11594]
  • Do not error out if an app can't be killed on device [#11717]
  • Fix crash in MulticastDelegate.Equals [#11871]
  • Allow null for a few EKReminder properties [#11956]
  • UINavigationController ctor accept null values
  • Fix serialization for enums [Flags] when 'link all' is enabled
  • Fix possible extra references to UIWindow (KeyWindow) [desk#29890]
  • Fix subclasses of UICollectionViewController where ViewDidLoad was called before the subclass .ctor
  • Fix issue with 4-aligned MidiPacket size for ARM

API Differences

Here is a detailed list of API changes between 6.2.5 and 6.2.6.

Xamarin.iOS 6.2.5

What is new?

  • Removed the time limit in Starter edition.

There are no API changes in this release.

Xamarin.iOS 6.2.4

What is new?

  • Adds Xcode 6.2.4 for Visual Studio.

There are no API changes in this release.

Xamarin.iOS 6.2.3

What is new?

  • Fixed cases where "MT5202: Native linking failed." errors could occur when using LLVM, a regression introduced in Xamarin.iOS 6.2.2.

There are no API changes in this release.

Xamarin.iOS 6.2.2

What is new?

  • Fixed regression in WCF that was introduced in Xamarin.iOS 6.2.1.
  • Improvements to correctly show IPA for Xamarin.iOS for Visual Studio.
  • Renamed the internal "apply" selector to avoid "The app references non-public selectors" warnings when submitting applications.

There are no API changes in this release.

Xamarin.iOS 6.2.1

What is new?

  • LLVM compiler is now available for every license

  • System.Runtime.Serialization.dll is now available for every license

  • .dSYM symbol creation can be turned off using --dsym=false

  • It is possible to select a different native compiler than GCC/G++ by passing --compiler: to mtouch. The possible values for the compiler to use are: gcc, g++, clang, clang++ or the full path to any gcc-compatible compiler. The current default (when if no compiler is specified) is gcc, but will change to clang in a future release.

  • Traditionally it has been possible to create managed objects without a native peer. The behavior has however been inconsistent between types, and in the case of types from third-party libraries it would result in instances would, if used, most likely crash the process with a stack overflow. So we’ve changed the default behavior: an exception will be thrown if a native peer cannot be created for a managed object. This behavior is controlled by the value MonoTouch.ObjCRuntime.Class.ThrowOnInitFailure - set it to false to return to the old behavior.
  • Updated managed initialization to make it faster
  • Selector.GetHandle is handled special-cased by the AOT compiler (effectively an intrinsic operation), so it's now even faster than loading a static field.
  • Added support to bind Objective-C categories.
  • Added NSFileHandle, NSPipe and some missing NSCalendar API;

Bug Fixes:

  • Ensure _monotouch* bundled resources are removed from device builds whatever the linker settings are used [#9974]
  • Allow NSLayoutConstraint.FromVisualFormat metrics to be null [#10132]
  • ALlow NSBundle.LoadNib 's owner can be null [#10136]
  • Fix typo in SetStatusBarHidden parameter name [#10173]
  • Fix potential NRE when reporting MT2002 [#10213]
  • Ensure the linker keeps ObjectHandle if needed [#10273]
  • Reduce IL when the linker removes unsupported features [#10291]
  • Fixed CADisplayLink crash under Instruments [#10315]
  • Fix static constructors in types being linked away [#10318]
  • When an unhanded ObjC exception occurs ensure the thread was registered with Mono before throwing a managed exception
  • Fix signature of CLLocationManagerDelegate.DidStartMonitoringForRegion

Xamarin.iOS 6.2.0

This released introduced support for developing iOS applications using Visual Studio, Xamarin Components and introduced the free C# edition.

What is new?

Since and ThreadSafe attributes are now visible on the Assembly Browser:

we now expose the SinceAttribute and ThreadSafeAttribute on the assembly browser which make it easier for developers to find out when an iOS API was first introduced and whether a specific API in UIKit has been flagged as thread safe or not. These attributes are stripped out from the final build, so they do not affect your application size.

Signed Assemblies:

in the past MonoTouch shipped with either unsigned on delay-signed assemblies. With this release we are signing the assemblies with the Xamarin Key. This change affects the strongnames of some Xamarin assemblies (Microsoft compatible assemblies strongnames remain unchanged). Existing user assemblies linking to those assemblies (such as monotouch.dll) should be recompiled using Xamarin.iOS 6.2.0 for them to work.

Touch.Unit and NUnit Updates:

Touch.Unit was updated with the new NUnitLite 0.8.

List of Changed signatures

Before Xamarin.iOS 6.2.0:- MonoTouch.Dialog-1, Version=, Culture=neutral, PublicKeyToken=null

  • MonoTouch.NUnitLite, Version=, Culture=neutral, PublicKeyToken=null
  • OpenTK-1.0, Version=, Culture=neutral, PublicKeyToken=null
  • OpenTK, Version=, Culture=neutral, PublicKeyToken=null
  • monotouch, Version=, Culture=neutral, PublicKeyToken=null

Starting with Xamarin.iOS 6.2.0:- MonoTouch.Dialog-1, Version=, Culture=neutral, PublicKeyToken=84e04ff9cfb79065

  • MonoTouch.NUnitLite, Version=, Culture=neutral, PublicKeyToken=84e04ff9cfb79065
  • OpenTK-1.0, Version=, Culture=neutral, PublicKeyToken=84e04ff9cfb79065
  • OpenTK, Version=, Culture=neutral, PublicKeyToken=84e04ff9cfb79065
  • monotouch, Version=, Culture=neutral, PublicKeyToken=84e04ff9cfb79065

Note: this change removes some limitations when using InternalsVisibleToAttribute

with Xamarin-shipped assemblies.

Please contact

if you have issues concerning the recompilation of your
assemblies. <a name="Bug_Fixes:" class="injected"></a>

Bug Fixes:

API Differences

Here is a detailed list of API changes between 6.0.10 and 6.2.0.

You can’t perform that action at this time.