iOS Guides | Samples

Foundation.NSBundle.MainBundle Property

The NSBundle that corresponds to the directory where the current application is located.

Syntax

[get: Foundation.Export("mainBundle")]
public static NSBundle MainBundle { get; }

Requirements

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