ObjCRuntime.LinkWithAttribute.SmartLink Property
If this is set true, the ForceLoad value will be ignored when it is deemed safe to do so.

Syntax

public bool SmartLink { get; set; }

Value

This value should be set to true to let Xamarin.iOS determine whether ForceLoad is required or not.

Remarks

In the current implementation the ForceLoad flag is usually not required when the static registrar is used at compilation time. The exact logic is however an implementation detail and may change in future versions.

Requirements

Namespace: ObjCRuntime
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0